Skip to content

Commit

Permalink
better hangling of next segment
Browse files Browse the repository at this point in the history
  • Loading branch information
nmacedo committed Aug 11, 2020
1 parent 6e8e2de commit 8a267b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/kodkod/engine/TemporalPardinusSolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ public Solution nextS(int state, int delta, Set<Relation> change) {
if (delta < 1)
throw new IllegalArgumentException("Cannot iterate boundless with s != 0, breaks completeness.");

if (!hasNext())
throw new NoSuchElementException();
if (translation == null)
return Solution.triviallyUnsatisfiable(new Statistics(0, 0, 0, 0, 0), null);
try {
Set<Relation> fix = new HashSet<Relation>();
if (iteration_stage == 0) // only fix config once
Expand Down

0 comments on commit 8a267b9

Please sign in to comment.