Browse Source

fix for mec choice elimination

tempestpy_adaptions
TimQu 7 years ago
parent
commit
d34a2dd9fd
  1. 2
      src/storm-pomdp/transformer/GlobalPomdpMecChoiceEliminator.cpp

2
src/storm-pomdp/transformer/GlobalPomdpMecChoiceEliminator.cpp

@ -27,7 +27,7 @@ namespace storm {
std::shared_ptr<storm::logic::Formula const> subformula = formula.asOperatorFormula().getSubformula().asSharedPointer(); std::shared_ptr<storm::logic::Formula const> subformula = formula.asOperatorFormula().getSubformula().asSharedPointer();
// If necessary, convert the subformula to a more general case // If necessary, convert the subformula to a more general case
if (subformula->isEventuallyFormula() && subformula->asEventuallyFormula().isProbabilityPathFormula()) {
if (subformula->isEventuallyFormula() && formula.isProbabilityOperatorFormula()) {
subformula = std::make_shared<storm::logic::UntilFormula>(storm::logic::Formula::getTrueFormula(), subformula->asEventuallyFormula().getSubformula().asSharedPointer()); subformula = std::make_shared<storm::logic::UntilFormula>(storm::logic::Formula::getTrueFormula(), subformula->asEventuallyFormula().getSubformula().asSharedPointer());
} }

Loading…
Cancel
Save