Browse Source

Fix: Returning scaled vector

tempestpy_adaptions
Jan Erik Karuc 5 years ago
parent
commit
444f737baa
  1. 2
      src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp

2
src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp

@ -499,7 +499,7 @@ namespace storm {
std::vector<ValueType> IterativeMinMaxLinearEquationSolver<ValueType>::guessUpperBound(Environment const& env, std::vector<ValueType> const& x, ValueType const& precision) const {
std::vector<ValueType> ub = x;
storm::utility::vector::scaleVectorInPlace<ValueType, ValueType>(ub, storm::utility::one<ValueType>() + precision);
return x;
return ub;
}
template<typename ValueType>

Loading…
Cancel
Save