Browse Source

Guard setInitialStates with hasInitialStatesRestriction

tempestpy_adaptions
Sebastian Junges 6 years ago
parent
commit
a48f90a523
  1. 4
      src/storm/storage/jani/Automaton.cpp

4
src/storm/storage/jani/Automaton.cpp

@ -445,7 +445,9 @@ namespace storm {
location.substitute(substitution);
}
this->setInitialStatesRestriction(substituteJaniExpression(this->getInitialStatesRestriction(), substitution));
if (hasInitialStatesRestriction()) {
this->setInitialStatesRestriction(substituteJaniExpression(this->getInitialStatesRestriction(), substitution));
}
edges.substitute(substitution);
}

Loading…
Cancel
Save