From e49de6434bc1de50be5c40d9586098fc0fa404a8 Mon Sep 17 00:00:00 2001 From: TimQu Date: Mon, 8 May 2017 16:50:45 +0200 Subject: [PATCH] fix for multi-obj preprocessor --- .../multiobjective/SparseMultiObjectivePreprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm/modelchecker/multiobjective/SparseMultiObjectivePreprocessor.cpp b/src/storm/modelchecker/multiobjective/SparseMultiObjectivePreprocessor.cpp index f9f370aaa..a583142bd 100644 --- a/src/storm/modelchecker/multiobjective/SparseMultiObjectivePreprocessor.cpp +++ b/src/storm/modelchecker/multiobjective/SparseMultiObjectivePreprocessor.cpp @@ -463,7 +463,7 @@ namespace storm { std::vector const& groupIndices = transitions.getRowGroupIndices(); storm::storage::BitVector maxRewardsToCheck(result.preprocessedModel->getNumberOfChoices(), true); - bool hasMinRewardToCheck; + bool hasMinRewardToCheck = false; for (auto const& objIndex : finiteRewardCheckObjectives) { auto const& rewModel = result.preprocessedModel->getRewardModel(result.objectives[objIndex].rewardModelName.get()); if (storm::solver::minimize(result.objectives[objIndex].optimizationDirection)) {