diff --git a/src/storm-pomdp/transformer/GlobalPomdpMecChoiceEliminator.cpp b/src/storm-pomdp/transformer/GlobalPomdpMecChoiceEliminator.cpp index 405fe4fc6..d01342a7c 100644 --- a/src/storm-pomdp/transformer/GlobalPomdpMecChoiceEliminator.cpp +++ b/src/storm-pomdp/transformer/GlobalPomdpMecChoiceEliminator.cpp @@ -27,7 +27,7 @@ namespace storm { std::shared_ptr subformula = formula.asOperatorFormula().getSubformula().asSharedPointer(); // 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::Formula::getTrueFormula(), subformula->asEventuallyFormula().getSubformula().asSharedPointer()); }