Skip to content

Commit

Permalink
missing continue
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout4 committed Sep 21, 2023
1 parent 0c02a88 commit f60bcd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpmpy/transformations/flatten_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def flatten_constraint(expr):
# already flat?
if all(__is_flat_var(arg) for arg in [lexpr, rexpr]):
newlist.append(expr) # original
continue

# ensure rhs is var
(rvar, rcons) = get_or_make_var(rexpr)
Expand Down

0 comments on commit f60bcd1

Please sign in to comment.