Skip to content
Snippets Groups Projects
Commit 20efbc96 authored by Sebastian Krings's avatar Sebastian Krings
Browse files

add missing update of flag

parent 1119acf1
Branches
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ public class NonIncrementalSolverSolutionIterator implements Iterator<Solution>
@Override
public Solution next() {
if (!returned) {
returned = true;
return sol;
}
throw new RuntimeException("second solution of non-incremental solver requested");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment