Browse Source

Bugfix for explicit model adapter: empty choice labeling was not created for automatically added self-loops.

Former-commit-id: 6c63c28f59
tempestpy_adaptions
dehnert 11 years ago
parent
commit
5816bd8860
  1. 2
      src/adapters/ExplicitModelAdapter.h

2
src/adapters/ExplicitModelAdapter.h

@ -559,6 +559,8 @@ namespace storm {
// requested and issue an error otherwise.
if (totalNumberOfChoices == 0) {
if (storm::settings::Settings::getInstance()->isSet("fixDeadlocks")) {
// Insert empty choice labeling for added self-loop transitions.
choiceLabels.push_back(boost::container::flat_set<uint_fast64_t>());
transitionMatrixBuilder.addNextValue(currentRow, currentState, storm::utility::constantOne<ValueType>());
++currentRow;
} else {

Loading…
Cancel
Save