Skip to content

Commit

Permalink
remove cast to int that was their for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout4 committed Jul 13, 2023
1 parent 7dab664 commit f017a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpmpy/expressions/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ def get_bounds(self):
if lowerbound > upperbound:
#overflow happened
raise OverflowError('Overflow when calculating bounds, your expression exceeds integer bounds.')
return int(lowerbound), upperbound
return lowerbound, upperbound
def _wsum_should(arg):
""" Internal helper: should the arg be in a wsum instead of sum
Expand Down

0 comments on commit f017a39

Please sign in to comment.