Browse Source

fix in eliminateAll

Former-commit-id: 93f753d148
tempestpy_adaptions
sjunges 8 years ago
parent
commit
b243057884
  1. 2
      src/solver/stateelimination/PrioritizedStateEliminator.cpp

2
src/solver/stateelimination/PrioritizedStateEliminator.cpp

@ -39,7 +39,7 @@ namespace storm {
void PrioritizedStateEliminator<ValueType>::eliminateAll(bool removeForwardTransitions) { void PrioritizedStateEliminator<ValueType>::eliminateAll(bool removeForwardTransitions) {
while (priorityQueue->hasNext()) { while (priorityQueue->hasNext()) {
storm::storage::sparse::state_type state = priorityQueue->pop(); storm::storage::sparse::state_type state = priorityQueue->pop();
this->eliminateState(priorityQueue->pop(), removeForwardTransitions);
this->eliminateState(state, removeForwardTransitions);
if (removeForwardTransitions) { if (removeForwardTransitions) {
clearStateValues(state); clearStateValues(state);
} }

Loading…
Cancel
Save