Browse Source

added missing parenthesis

tempestpy_adaptions
TimQu 8 years ago
parent
commit
95527421bf
  1. 2
      src/storm/utility/graph.cpp

2
src/storm/utility/graph.cpp

@ -68,7 +68,7 @@ namespace storm {
for (auto const& successor : transitionMatrix.getRowGroup(currentState)) {
// Only explore the state if the transition was actually there and the successor has not yet
// been visited.
if (!storm::utility::isZero(successor.getValue()) && !reachableStates.get(successor.getColumn()) || (useStepBound && remainingSteps[successor.getColumn()] < currentStepBound - 1)) {
if (!storm::utility::isZero(successor.getValue()) && (!reachableStates.get(successor.getColumn()) || (useStepBound && remainingSteps[successor.getColumn()] < currentStepBound - 1))) {
// If the successor is one of the target states, we need to include it, but must not explore
// it further.
if (targetStates.get(successor.getColumn())) {

Loading…
Cancel
Save