diff --git a/src/storm/environment/solver/MinMaxSolverEnvironment.h b/src/storm/environment/solver/MinMaxSolverEnvironment.h index 3f54f0fa9..b0a19d8c4 100644 --- a/src/storm/environment/solver/MinMaxSolverEnvironment.h +++ b/src/storm/environment/solver/MinMaxSolverEnvironment.h @@ -25,8 +25,6 @@ namespace storm { void setRelativeTerminationCriterion(bool value); storm::solver::MultiplicationStyle const& getMultiplicationStyle() const; void setMultiplicationStyle(storm::solver::MultiplicationStyle value); - bool isForceBoundsSet() const; - void setForceBounds(bool value); bool isSymmetricUpdatesSet() const; void setSymmetricUpdates(bool value); @@ -37,7 +35,6 @@ namespace storm { storm::RationalNumber precision; bool considerRelativeTerminationCriterion; storm::solver::MultiplicationStyle multiplicationStyle; - bool forceBounds; bool symmetricUpdates; }; } diff --git a/src/storm/utility/vector.h b/src/storm/utility/vector.h index b553607b9..153f74a36 100644 --- a/src/storm/utility/vector.h +++ b/src/storm/utility/vector.h @@ -1160,6 +1160,11 @@ namespace storm { bool hasZeroEntry(std::vector const& v){ return std::any_of(v.begin(), v.end(), [](T value){return storm::utility::isZero(value);}); } + + template + bool hasInfinityEntry(std::vector const& v){ + return std::any_of(v.begin(), v.end(), [](T value){return storm::utility::isInfinity(value);}); + } inline std::set getVariables(std::vector const& vector) { std::set result;