Skip to content

Commit

Permalink
remove redundant call to toplevel_list
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimosts committed Jul 6, 2023
1 parent 36b8df0 commit 025a072
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 @@ -393,7 +393,7 @@ def transform(self, cpm_expr):
"inverse", "ite" "xor", "table", "cumulative", "circuit", "gcc"}
cpm_cons = decompose_in_tree(cpm_cons, supported)

return simplify_boolean(toplevel_list(cpm_cons))
return simplify_boolean(cpm_cons)

def __add__(self, cpm_expr):
"""
Expand Down

0 comments on commit 025a072

Please sign in to comment.