Skip to content

Commit

Permalink
nested nvalue allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout4 committed Jan 19, 2024
1 parent 3fd3b20 commit 8e7acb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpmpy/solvers/minizinc.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def transform(self, cpm_expr):
cpm_cons = toplevel_list(cpm_expr)
supported = {"min", "max", "abs", "element", "count", "nvalue", "alldifferent", "alldifferent_except0", "allequal",
"inverse", "ite" "xor", "table", "cumulative", "circuit", "gcc"}
return decompose_in_tree(cpm_cons, supported, supported_reified=supported - {"circuit", 'nvalue'})
return decompose_in_tree(cpm_cons, supported, supported_reified=supported - {"circuit"})


def __add__(self, cpm_expr):
Expand Down

0 comments on commit 8e7acb2

Please sign in to comment.