diff --git a/prism/src/explicit/StateModelChecker.java b/prism/src/explicit/StateModelChecker.java index 714df8f4..bd147074 100644 --- a/prism/src/explicit/StateModelChecker.java +++ b/prism/src/explicit/StateModelChecker.java @@ -924,7 +924,7 @@ public class StateModelChecker extends PrismComponent if (bsMatch != null) { states = StateValues.createFromBitSet(bsMatch, model); mainLog.print("\nThere are " + bsMatch.cardinality() + " states with "); - mainLog.print(expr.getType() instanceof TypeDouble ? "(approximately) " : "" + "this value"); + mainLog.print((expr.getType() instanceof TypeDouble ? "(approximately) " : "") + "this value"); boolean verbose = verbosity > 0; // TODO if (!verbose && bsMatch.cardinality() > 10) { mainLog.print(".\nThe first 10 states are displayed below. To view them all, enable verbose mode or use a print filter.\n"); diff --git a/prism/src/prism/StateModelChecker.java b/prism/src/prism/StateModelChecker.java index 556d1c2b..003846fd 100644 --- a/prism/src/prism/StateModelChecker.java +++ b/prism/src/prism/StateModelChecker.java @@ -1344,7 +1344,7 @@ public class StateModelChecker implements ModelChecker if (ddMatch != null) { states = new StateListMTBDD(ddMatch, model); mainLog.print("\nThere are " + states.sizeString() + " states with "); - mainLog.print(expr.getType() instanceof TypeDouble ? "(approximately) " : "" + "this value"); + mainLog.print((expr.getType() instanceof TypeDouble ? "(approximately) " : "") + "this value"); if (!verbose && (states.size() == -1 || states.size() > 10)) { mainLog.print(".\nThe first 10 states are displayed below. To view them all, enable verbose mode or use a print filter.\n"); states.print(mainLog, 10);