diff --git a/src/storm/modelchecker/multiobjective/pcaa/PcaaWeightVectorChecker.cpp b/src/storm/modelchecker/multiobjective/pcaa/PcaaWeightVectorChecker.cpp index 19ae057dd..5f2ea028d 100644 --- a/src/storm/modelchecker/multiobjective/pcaa/PcaaWeightVectorChecker.cpp +++ b/src/storm/modelchecker/multiobjective/pcaa/PcaaWeightVectorChecker.cpp @@ -35,7 +35,7 @@ namespace storm { boost::optional PcaaWeightVectorChecker::computeWeightedResultBound(bool lower, std::vector const& weightVector, storm::storage::BitVector const& objectiveFilter) const { ValueType result = storm::utility::zero(); - for (auto const& objIndex : objectiveFilter) { + for (auto objIndex : objectiveFilter) { boost::optional const& objBound = (lower == storm::solver::minimize(this->objectives[objIndex].formula->getOptimalityType())) ? this->objectives[objIndex].upperResultBound : this->objectives[objIndex].lowerResultBound; if (objBound) { if (storm::solver::minimize(this->objectives[objIndex].formula->getOptimalityType())) { diff --git a/src/storm/modelchecker/multiobjective/pcaa/StandardMaPcaaWeightVectorChecker.cpp b/src/storm/modelchecker/multiobjective/pcaa/StandardMaPcaaWeightVectorChecker.cpp index 1517518e3..0da73ad35 100644 --- a/src/storm/modelchecker/multiobjective/pcaa/StandardMaPcaaWeightVectorChecker.cpp +++ b/src/storm/modelchecker/multiobjective/pcaa/StandardMaPcaaWeightVectorChecker.cpp @@ -152,7 +152,7 @@ namespace storm { std::vector const& objRewards = this->actionRewards[objIndex]; std::vector subModelObjRewards; subModelObjRewards.reserve(result.getNumberOfChoices()); - for (auto const& choice : result.choices) { + for (auto choice : result.choices) { subModelObjRewards.push_back(objRewards[choice]); } result.objectiveRewardVectors.push_back(std::move(subModelObjRewards)); @@ -213,7 +213,7 @@ namespace storm { VT delta = smallestNonZeroBound / smallestStepBound; while(true) { bool deltaValid = true; - for (auto const& objIndex : objectivesWithTimeBound) { + for (auto objIndex : objectivesWithTimeBound) { auto const& timeBound = timeBounds[objIndex]; if (timeBound/delta != std::floor(timeBound/delta)) { deltaValid = false;