Browse Source

fix in toJaniConverter

tempestpy_adaptions
TimQu 6 years ago
parent
commit
13bc33328a
  1. 2
      src/storm/storage/prism/ToJaniConverter.cpp

2
src/storm/storage/prism/ToJaniConverter.cpp

@ -405,7 +405,7 @@ namespace storm {
} }
std::map<storm::expressions::Variable, storm::expressions::Expression> renamedFormulaToFunctionCallMap; std::map<storm::expressions::Variable, storm::expressions::Expression> renamedFormulaToFunctionCallMap;
for (auto const& formulaToFunctionCall : formulaToFunctionCallMap) { for (auto const& formulaToFunctionCall : formulaToFunctionCallMap) {
renamedFormulaToFunctionCallMap[formulaToFunctionCall.first] = storm::jani::substituteJaniExpression(formulaToFunctionCall.second, renamedFormulaToFunctionCallMap);
renamedFormulaToFunctionCallMap[formulaToFunctionCall.first] = storm::jani::substituteJaniExpression(formulaToFunctionCall.second, renamingAsSubstitution);
} }
automaton.substitute(renamedFormulaToFunctionCallMap); automaton.substitute(renamedFormulaToFunctionCallMap);
} }

Loading…
Cancel
Save