Browse Source

fixed cyclic check.

tempestpy_adaptions
TimQu 6 years ago
parent
commit
e89cbf2886
  1. 2
      src/storm/utility/graph.cpp

2
src/storm/utility/graph.cpp

@ -134,7 +134,7 @@ namespace storm {
uint64_t state = dfsStack.back(); uint64_t state = dfsStack.back();
if (unexploredStates.get(state)) { if (unexploredStates.get(state)) {
unexploredStates.set(state, false); unexploredStates.set(state, false);
for (auto const& entry : transitionMatrix.getRowGroup(start)) {
for (auto const& entry : transitionMatrix.getRowGroup(state)) {
if (unexploredStates.get(entry.getColumn())) { if (unexploredStates.get(entry.getColumn())) {
dfsStack.push_back(entry.getColumn()); dfsStack.push_back(entry.getColumn());
} else { } else {

Loading…
Cancel
Save