From 444f737baae7514e3f574cfdbffc27e58a557aeb Mon Sep 17 00:00:00 2001 From: Jan Erik Karuc Date: Thu, 20 Feb 2020 21:23:49 +0100 Subject: [PATCH] Fix: Returning scaled vector --- src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp b/src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp index beda7ed2e..4bf296891 100644 --- a/src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp +++ b/src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp @@ -499,7 +499,7 @@ namespace storm { std::vector IterativeMinMaxLinearEquationSolver::guessUpperBound(Environment const& env, std::vector const& x, ValueType const& precision) const { std::vector ub = x; storm::utility::vector::scaleVectorInPlace(ub, storm::utility::one() + precision); - return x; + return ub; } template