Browse Source

fix for some multi-objective queries

tempestpy_adaptions
TimQu 7 years ago
parent
commit
5b35927ecb
  1. 2
      src/storm/modelchecker/multiobjective/pcaa/SparsePcaaWeightVectorChecker.cpp

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

@ -270,8 +270,8 @@ namespace storm {
// Set the result for this objective accordingly // Set the result for this objective accordingly
storm::utility::vector::setVectorValues<ValueType>(objectiveResults[objIndex], maybeStates, x); storm::utility::vector::setVectorValues<ValueType>(objectiveResults[objIndex], maybeStates, x);
storm::utility::vector::setVectorValues<ValueType>(objectiveResults[objIndex], ~maybeStates, storm::utility::zero<ValueType>());
} }
storm::utility::vector::setVectorValues<ValueType>(objectiveResults[objIndex], ~maybeStates, storm::utility::zero<ValueType>());
// Update the estimate for the next objectives. // Update the estimate for the next objectives.
if (!storm::utility::isZero(weightVector[objIndex])) { if (!storm::utility::isZero(weightVector[objIndex])) {

Loading…
Cancel
Save