Browse Source
Fixed an issue with jani::VariablSet using different kinds of variable names when adding and deleting variables.
tempestpy_adaptions
Tim Quatmann
4 years ago
No known key found for this signature in database
GPG Key ID: 6EDE19592731EEC3
1 changed files with
1 additions and
1 deletions
-
src/storm/storage/jani/VariableSet.cpp
|
|
@ -214,7 +214,7 @@ namespace storm { |
|
|
|
std::shared_ptr<Variable> janiVar = std::move(vToVIt->second); |
|
|
|
variableToVariable.erase(vToVIt); |
|
|
|
|
|
|
|
nameToVariable.erase(variable.getName()); |
|
|
|
nameToVariable.erase(janiVar->getName()); |
|
|
|
eraseFromVariableVector(variables, variable); |
|
|
|
if (janiVar->isBooleanVariable()) { |
|
|
|
eraseFromVariableVector(booleanVariables, variable); |
|
|
|