Browse Source

Check on number of set bits instead of vector size

tempestpy_adaptions
Jip Spel 6 years ago
parent
commit
b04a853319
  1. 2
      src/storm-pars/analysis/LatticeExtender.cpp

2
src/storm-pars/analysis/LatticeExtender.cpp

@ -258,7 +258,7 @@ namespace storm {
auto succ1 = successors.getNextSetIndex(0);
auto succ2 = successors.getNextSetIndex(succ1 + 1);
if (seenStates[stateNumber] && successors.size() == 2
if (seenStates[stateNumber] && successors.getNumberOfSetBits() == 2
&& (seenStates[succ1] || seenStates[succ2])
&& (!seenStates[succ1] || !seenStates[succ2])) {

Loading…
Cancel
Save