Browse Source

Making things compile again...

tempestpy_adaptions
TimQu 7 years ago
parent
commit
172c5f3657
  1. 4
      src/storm/solver/LpMinMaxLinearEquationSolver.cpp
  2. 4
      src/storm/solver/SymbolicMinMaxLinearEquationSolver.cpp
  3. 2
      src/test/storm/solver/LinearEquationSolverTest.cpp

4
src/storm/solver/LpMinMaxLinearEquationSolver.cpp

@ -120,9 +120,7 @@ namespace storm {
requirements.requireNoEndComponents();
}
if (env.solver().minMax().isForceBoundsSet()) {
requirements.requireBounds();
}
requirements.requireBounds(false);
return requirements;
}

4
src/storm/solver/SymbolicMinMaxLinearEquationSolver.cpp

@ -458,10 +458,6 @@ namespace storm {
STORM_LOG_THROW(false, storm::exceptions::InvalidEnvironmentException, "The selected min max technique is not supported by this solver.");
}
if (env.solver().minMax().isForceBoundsSet()) {
requirements.requireBounds();
}
return requirements;
}

2
src/test/storm/solver/LinearEquationSolverTest.cpp

@ -345,7 +345,7 @@ namespace {
auto requirements = factory.getRequirements(this->env());
requirements.clearUpperBounds();
requirements.clearLowerBounds();
ASSERT_TRUE(requirements.empty());
ASSERT_FALSE(requirements.hasEnabledRequirement());
auto solver = factory.create(this->env(), A);
solver->setBounds(this->parseNumber("-100"), this->parseNumber("100"));
ASSERT_NO_THROW(solver->solveEquations(this->env(), x, b));

Loading…
Cancel
Save