Browse Source

Fix conversion ambiguity: Use 1 instead of 1.0

tempestpy_adaptions
Daniel Basgöze 3 years ago
committed by Stefan Pranger
parent
commit
a34fcca339
  1. 2
      src/storm/storage/geometry/ReduceVertexCloud.cpp

2
src/storm/storage/geometry/ReduceVertexCloud.cpp

@ -53,7 +53,7 @@ namespace storm {
expressionManager->rational(1)); expressionManager->rational(1));
} else { } else {
smtSolver->add(storm::expressions::sum(weightVariableExpressions) <= smtSolver->add(storm::expressions::sum(weightVariableExpressions) <=
expressionManager->rational(1.0 + wiggle));
expressionManager->rational(1 + wiggle));
smtSolver->add(storm::expressions::sum(weightVariableExpressions) >= smtSolver->add(storm::expressions::sum(weightVariableExpressions) >=
expressionManager->rational(1 - wiggle)); expressionManager->rational(1 - wiggle));
} }

Loading…
Cancel
Save