diff --git a/src/storm/modelchecker/csl/helper/SparseCtmcCslHelper.cpp b/src/storm/modelchecker/csl/helper/SparseCtmcCslHelper.cpp index 697eab80a..634eaf806 100644 --- a/src/storm/modelchecker/csl/helper/SparseCtmcCslHelper.cpp +++ b/src/storm/modelchecker/csl/helper/SparseCtmcCslHelper.cpp @@ -482,6 +482,8 @@ namespace storm { // Check solver requirements. storm::solver::GeneralLinearEquationSolverFactory linearEquationSolverFactory; auto requirements = linearEquationSolverFactory.getRequirements(env); + requirements.clearLowerBounds(); + requirements.clearUpperBounds(); STORM_LOG_THROW(!requirements.hasEnabledCriticalRequirement(), storm::exceptions::UncheckedRequirementException, "Solver requirements " + requirements.getEnabledRequirementsAsString() + " not checked."); bool fixedPointSystem = false; @@ -541,6 +543,8 @@ namespace storm { bsccEquationSystem = builder.build(); { std::unique_ptr> solver = linearEquationSolverFactory.create(env, std::move(bsccEquationSystem)); + solver->setLowerBound(storm::utility::zero()); + solver->setUpperBound(storm::utility::one()); solver->solveEquations(env, bsccEquationSystemSolution, bsccEquationSystemRightSide); }