Skip to content

Commit

Permalink
fix decomp
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnaceBleukx committed May 24, 2024
1 parent 39eae06 commit c7188a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpmpy/expressions/globalconstraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def decompose(self):
from .python_builtins import any as cpm_any
constraints = []
for lst1, lst2 in all_pairs(self.args):
constraints += [cpm_any(var1 != var2) for var1, var2 in zip(lst1,lst2)]
constraints += [cpm_any(var1 != var2 for var1, var2 in zip(lst1, lst2))]
return constraints, []

def value(self):
Expand Down

0 comments on commit c7188a4

Please sign in to comment.