Browse Source

Minor bugfix.

Former-commit-id: d53be4f673
tempestpy_adaptions
dehnert 11 years ago
parent
commit
6e63e1c296
  1. 2
      src/counterexamples/MILPMinimalLabelSetGenerator.h

2
src/counterexamples/MILPMinimalLabelSetGenerator.h

@ -1021,7 +1021,7 @@ namespace storm {
LOG4CPLUS_ERROR(logger, "Illegal comparison operator in formula " << probBoundFormula->toString() << ". Only upper bounds are supported for counterexample generation.");
throw storm::exceptions::InvalidPropertyException() << "Illegal comparison operator in formula " << probBoundFormula->toString() << ". Only upper bounds are supported for counterexample generation.";
}
bool strictBound = probBoundFormula->getComparisonOperator() == storm::property::ComparisonType::LESS;
bool strictBound = !probBoundFormula->getComparisonOperator() == storm::property::ComparisonType::LESS;
// Now derive the probability threshold we need to exceed as well as the phi and psi states. Simultaneously, check whether the formula is of a valid shape.
double bound = probBoundFormula->getBound();

Loading…
Cancel
Save