Browse Source

ovi: fixed using incorrect precision

tempestpy_adaptions
TimQu 4 years ago
parent
commit
18d9ba0f38
  1. 2
      src/storm/solver/helper/OptimisticValueIterationHelper.cpp

2
src/storm/solver/helper/OptimisticValueIterationHelper.cpp

@ -305,7 +305,7 @@ namespace storm {
while (status == SolverStatus::InProgress && overallIterations < maxOverallIterations) {
// Perform value iteration until convergence
lastValueIterationIterations = dir ? iterationHelper.repeatedIterate(dir.get(), *lowerX, b, precision, relative) : iterationHelper.repeatedIterate(*lowerX, b, precision, relative);
lastValueIterationIterations = dir ? iterationHelper.repeatedIterate(dir.get(), *lowerX, b, iterationPrecision, relative) : iterationHelper.repeatedIterate(*lowerX, b, iterationPrecision, relative);
overallIterations += lastValueIterationIterations;
bool intervalIterationNeeded = false;

Loading…
Cancel
Save