Browse Source

Merge branch 'master' into almostsurepomdp

tempestpy_adaptions
Sebastian Junges 5 years ago
parent
commit
6d8c478378
  1. 2
      src/storm/models/sparse/Model.cpp

2
src/storm/models/sparse/Model.cpp

@ -424,7 +424,7 @@ namespace storm {
bool Model<ValueType, RewardModelType>::isSinkState(uint64_t state) const {
for (auto const& entry : this->getTransitionMatrix().getRowGroup(state)) {
if (entry.getColumn() != state) { return false; }
if (storm::utility::isOne(entry.getValue())) { return false; }
if (!storm::utility::isOne(entry.getValue())) { return false; }
}
return true;
}

Loading…
Cancel
Save