Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make IntVarValueIterator next() method throw a NoSuchElementException #682

Merged
merged 2 commits into from
Apr 8, 2020
Merged

make IntVarValueIterator next() method throw a NoSuchElementException #682

merged 2 commits into from
Apr 8, 2020

Conversation

ArthurGodet
Copy link
Collaborator

Fixes #681 .

Changes proposed in this PR:

  • Make IntVarValueIterator next() method throw a NoSuchElementException when no next element

@chocoteam/core-developer

@ArthurGodet ArthurGodet requested a review from cprudhom April 7, 2020 19:01
@cprudhom cprudhom merged commit a5acb4b into chocoteam:master Apr 8, 2020
@ArthurGodet ArthurGodet deleted the iterException branch August 18, 2021 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: IntVarValueIterator.next() inconsistent with .hasNext()
2 participants