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)) { for (auto const& successor : transitionMatrix.getRowGroup(currentState)) {
// Only explore the state if the transition was actually there and the successor has not yet // Only explore the state if the transition was actually there and the successor has not yet
// been visited. // 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 // If the successor is one of the target states, we need to include it, but must not explore
// it further. // it further.
if (targetStates.get(successor.getColumn())) { if (targetStates.get(successor.getColumn())) {

Loading…
Cancel
Save