diff --git a/src/modelchecker/results/ExplicitQuantitativeCheckResult.cpp b/src/modelchecker/results/ExplicitQuantitativeCheckResult.cpp index 31b7e5296..3cb22b151 100644 --- a/src/modelchecker/results/ExplicitQuantitativeCheckResult.cpp +++ b/src/modelchecker/results/ExplicitQuantitativeCheckResult.cpp @@ -127,28 +127,28 @@ namespace storm { switch (comparisonType) { case logic::Less: for (uint_fast64_t index = 0; index < valuesAsVector.size(); ++index) { - if (result[index] < bound) { + if (valuesAsVector[index] < bound) { result.set(index); } } break; case logic::LessEqual: for (uint_fast64_t index = 0; index < valuesAsVector.size(); ++index) { - if (result[index] <= bound) { + if (valuesAsVector[index] <= bound) { result.set(index); } } break; case logic::Greater: for (uint_fast64_t index = 0; index < valuesAsVector.size(); ++index) { - if (result[index] > bound) { + if (valuesAsVector[index] > bound) { result.set(index); } } break; case logic::GreaterEqual: for (uint_fast64_t index = 0; index < valuesAsVector.size(); ++index) { - if (result[index] >= bound) { + if (valuesAsVector[index] >= bound) { result.set(index); } }