Browse Source

Change bounds to strictly greater/smaller

tempestpy_adaptions
Jip Spel 6 years ago
parent
commit
d64ba97d2f
  1. 4
      src/storm-pars/analysis/AssumptionChecker.cpp

4
src/storm-pars/analysis/AssumptionChecker.cpp

@ -258,7 +258,7 @@ namespace storm {
storm::expressions::Expression exprBounds = manager->boolean(true); storm::expressions::Expression exprBounds = manager->boolean(true);
auto variables = manager->getVariables(); auto variables = manager->getVariables();
for (auto var : variables) { for (auto var : variables) {
exprBounds = exprBounds && var >= 0 && var <= 1;
exprBounds = exprBounds && var > 0 && var < 1;
} }
s.add(exprGiven); s.add(exprGiven);
@ -335,7 +335,7 @@ namespace storm {
auto variables = manager->getVariables(); auto variables = manager->getVariables();
for (auto var : variables) { for (auto var : variables) {
exprBounds = exprBounds && var >= 0 && var <= 1;
exprBounds = exprBounds && var > 0 && var < 1;
} }
s.add(exprGiven); s.add(exprGiven);

Loading…
Cancel
Save