Skip to content
Snippets Groups Projects
Commit 00bf9116 authored by dgelessus's avatar dgelessus
Browse files

Adjust for new behavior of OutputCollector.getTrace()

parent 1e8e660f
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@ public class TLCResults implements ToolGlobals {
private void evalTrace() {
List<TLCStateInfo> trace = OutputCollector.getTrace();
TracePrinter printer = null;
if (trace != null) {
if (!trace.isEmpty()) {
printer = new TracePrinter(trace, tlcOutputInfo);
} else if (OutputCollector.getInitialState() != null) {
printer = new TracePrinter(OutputCollector.getInitialState(), tlcOutputInfo);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment