Browse Source

Fixed an error in the jani location expander.

tempestpy_adaptions
TimQu 6 years ago
parent
commit
6b09411122
  1. 2
      src/storm/storage/jani/JaniLocationExpander.cpp

2
src/storm/storage/jani/JaniLocationExpander.cpp

@ -98,8 +98,8 @@ namespace storm {
int64_t value; int64_t value;
for (auto const& assignment : oa) { for (auto const& assignment : oa) {
if (assignment.getVariable() == *variable) { if (assignment.getVariable() == *variable) {
oa.remove(assignment);
value = assignment.getAssignedExpression().evaluateAsInt(); value = assignment.getAssignedExpression().evaluateAsInt();
oa.remove(assignment);
break; break;
} }
} }

Loading…
Cancel
Save