diff --git a/src/storm/storage/prism/ToJaniConverter.cpp b/src/storm/storage/prism/ToJaniConverter.cpp index 0aebd241f..7b62f2324 100644 --- a/src/storm/storage/prism/ToJaniConverter.cpp +++ b/src/storm/storage/prism/ToJaniConverter.cpp @@ -405,7 +405,7 @@ namespace storm { } std::map renamedFormulaToFunctionCallMap; 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); }