From a21995052c5fe00b58f47b17e1d7e7e11738bb30 Mon Sep 17 00:00:00 2001 From: Sebastian Junges Date: Wed, 19 Apr 2017 13:44:47 +0200 Subject: [PATCH] fix for probabilistic reachability formulae --- src/storm/parser/JaniParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm/parser/JaniParser.cpp b/src/storm/parser/JaniParser.cpp index 08df6b605..ecb3ed0ff 100644 --- a/src/storm/parser/JaniParser.cpp +++ b/src/storm/parser/JaniParser.cpp @@ -370,7 +370,7 @@ namespace storm { STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "Reward bounded properties are not supported by storm"); } if (args[0]->isTrueFormula()) { - return std::make_shared(args[1], storm::logic::FormulaContext::Reward); + return std::make_shared(args[1], formulaContext); } else { return std::make_shared(args[0], args[1]); }