Browse Source

fix in nextstate generator for MA

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
69cae73bce
  1. 2
      src/storm/generator/NextStateGenerator.cpp

2
src/storm/generator/NextStateGenerator.cpp

@ -119,7 +119,7 @@ namespace storm {
result.getChoices().front().add(choice);
// Swap the choice to the end to indicate it can be removed (if it's not already there).
if (index != result.getNumberOfChoices() - 1) {
if (index != result.getNumberOfChoices() - 1 - numberOfChoicesToDelete) {
choice = std::move(result.getChoices()[result.getNumberOfChoices() - 1 - numberOfChoicesToDelete]);
}
++numberOfChoicesToDelete;

Loading…
Cancel
Save