From bbe9253777233213e2ae97619d7253bddd49ea73 Mon Sep 17 00:00:00 2001 From: TimQu Date: Mon, 15 Oct 2018 16:19:00 +0200 Subject: [PATCH] JaniParser: Actually fixed parsing of long run average reward formulas --- src/storm-parsers/parser/JaniParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm-parsers/parser/JaniParser.cpp b/src/storm-parsers/parser/JaniParser.cpp index 6c5937cdc..1459a9259 100644 --- a/src/storm-parsers/parser/JaniParser.cpp +++ b/src/storm-parsers/parser/JaniParser.cpp @@ -389,7 +389,7 @@ namespace storm { STORM_LOG_THROW(propertyStructure.count("exp") > 0, storm::exceptions::InvalidJaniException, "Expected an expression at steady state property at " << scope.description); auto rewExpr = parseExpression(propertyStructure["exp"], scope.refine("steady-state operator"), true); - if (!expr.isInitialized() || expr.hasBooleanType()) { + if (!rewExpr.isInitialized() || rewExpr.hasBooleanType()) { std::shared_ptr subformula = parseUnaryFormulaArgument(propertyStructure, formulaContext, opString, scope.refine("Steady-state operator"))[0]; return std::make_shared(subformula, opInfo); }