Skip to content

Commit 98b1480

Browse files
committed
Merge branch 'simulator' into v2.1
2 parents d75b971 + 3ce7bc0 commit 98b1480

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz/VizGUI.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1670,7 +1670,7 @@ private Runner doNext() {
16701670
} else {
16711671
try {
16721672
enumerator.compute(new String[] { // [HASLab]
1673-
xmlFileName, -2 + ""
1673+
xmlFileName, -3 + ""
16741674
});
16751675
} catch (Throwable ex) {
16761676
OurDialog.alert(ex.getMessage());

org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/SimpleReporter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -629,9 +629,9 @@ public void run(WorkerCallback out) throws Exception {
629629
int tries = 0;
630630
while (true) {
631631
try {
632-
if (this.index >= -1) {
632+
if (this.index >= -2) {
633633
latestKodkods.clear();
634-
sol = sol.fork(this.index); // [HASLab] simulator
634+
sol = sol.fork(this.index); // [HASLab] simulator; TODO: is this distinction needed?
635635
} else
636636
sol = sol.next();
637637
} catch (ErrorAPI e) { // [HASLab]

org.alloytools.alloy.core/src/main/java/edu/mit/csail/sdg/translator/A4Solution.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,7 @@ public A4Solution next() throws Err {
18031803
if (eval == null)
18041804
return this;
18051805
if (nextCache == null)
1806-
nextCache = new A4Solution(this, -2);
1806+
nextCache = new A4Solution(this, -3);
18071807
return nextCache;
18081808
}
18091809

0 commit comments

Comments
 (0)