Browse Source

JaniParser: Fixed parsing of globally formulas in JANI. (GitHub issue #42)

tempestpy_adaptions
TimQu 6 years ago
parent
commit
e9119154d7
  1. 2
      src/storm-parsers/parser/JaniParser.cpp

2
src/storm-parsers/parser/JaniParser.cpp

@ -497,7 +497,7 @@ namespace storm {
} else if (propertyStructure.count("reward-bounds") > 0 ) {
STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "Globally and reward bounded properties are not supported.");
}
return std::make_shared<storm::logic::GloballyFormula const>(args[1]);
return std::make_shared<storm::logic::GloballyFormula const>(args[0]);
} else if (opString == "W") {
assert(bound == boost::none);

Loading…
Cancel
Save