Skip to content

Commit 16be7ec

Browse files
author
nmacedo
committed
Merge branch 'visualiser' into simulator
2 parents 3868b8d + b8633f3 commit 16be7ec

File tree

1 file changed

+3
-1
lines changed
  • org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4viz

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1551,8 +1551,10 @@ private Runner doExportLTL() {
15511551
StringBuilder sa = new StringBuilder("");
15521552
for (int j = inst.getLoopState(); j < inst.getTraceLength(); j++)
15531553
sa.append("after ");
1554+
sa.append("(");
15541555
sa.append(states.get(i));
1555-
sb.append(" " + states.get(i) + " implies " + sa.toString() + "\n");
1556+
sa.append(")");
1557+
sb.append(" (" + states.get(i) + ") implies " + sa.toString() + "\n");
15561558
}
15571559
sb.append(" }\n}\n");
15581560
OurDialog.showtext("Text Viewer", sb.toString());

0 commit comments

Comments
 (0)