Browse Source

Assertion fixed.

tempestpy_adaptions
Tim Quatmann 4 years ago
parent
commit
e0276cb78f
  1. 2
      src/storm/modelchecker/multiobjective/pcaa/StandardPcaaWeightVectorChecker.cpp

2
src/storm/modelchecker/multiobjective/pcaa/StandardPcaaWeightVectorChecker.cpp

@ -721,7 +721,7 @@ namespace storm {
auto state = *origStates.begin();
auto groupStart = transitionMatrix.getRowGroupIndices()[state];
originalOptimalChoices[state] = origChoice - groupStart;
STORM_LOG_ASSERT(originalOptimalChoices[state] > 0 && originalOptimalChoices[state] < transitionMatrix.getRowGroupSize(state), "Invalid choice.");
STORM_LOG_ASSERT(originalOptimalChoices[state] >= 0 && originalOptimalChoices[state] < transitionMatrix.getRowGroupSize(state), "Invalid choice: " << originalOptimalChoices[state] << " at a state with " << transitionMatrix.getRowGroupSize(state) << " choices.");
originalSolution[state] = ecqSolution[ecqState];
unprocessedStates.set(state, false);
}
Loading…
Cancel
Save