Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout4 committed Jul 10, 2023
1 parent f4f9515 commit f217843
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 @@ -607,7 +607,7 @@ def get_bounds(self):
raise ValueError(f"Bound requested for unknown expression {self}, please report bug on github")
if lowerbound > upperbound:
#overflow happened
raise OverflowError('Overflow when calculating bounds, your expression exceeds int64 bounds.')
raise OverflowError('Overflow when calculating bounds, your expression exceeds integer bounds.')
return int(lowerbound), upperbound
def _wsum_should(arg):
""" Internal helper: should the arg be in a wsum instead of sum
Expand Down

0 comments on commit f217843

Please sign in to comment.