Browse Source

Delete lattice when assumption is not valid

tempestpy_adaptions
Jip Spel 6 years ago
parent
commit
5a438991e2
  1. 2
      src/storm-pars/analysis/AssumptionMaker.cpp

2
src/storm-pars/analysis/AssumptionMaker.cpp

@ -96,6 +96,8 @@ namespace storm {
assumptions.push_back(
std::shared_ptr<storm::expressions::BinaryRelationExpression>(assumption));
result = (runRecursive(lattice, assumptions));
} else if (assumptionChecker->validated(assumption) && !assumptionChecker->valid(assumption)) {
delete lattice;
}
} else {
assumptions.push_back(std::shared_ptr<storm::expressions::BinaryRelationExpression>(assumption));

Loading…
Cancel
Save