diff --git a/src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp b/src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp index bd75cbc61..7389fe818 100644 --- a/src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp +++ b/src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp @@ -52,7 +52,7 @@ namespace storm { template bool IterativeMinMaxLinearEquationSolver::internalSolveEquations(Environment const& env, OptimizationDirection dir, std::vector& x, std::vector const& b) const { bool result = false; - switch (env.solver().minMax().getMethod()) { + switch (getMethod(env, std::is_same::value)) { case MinMaxMethod::ValueIteration: if (env.solver().isForceSoundness()) { result = solveEquationsSoundValueIteration(env, dir, x, b);