diff --git a/src/storm/modelchecker/helper/ltl/SparseLTLHelper.cpp b/src/storm/modelchecker/helper/ltl/SparseLTLHelper.cpp index e097eaab5..d0f195604 100644 --- a/src/storm/modelchecker/helper/ltl/SparseLTLHelper.cpp +++ b/src/storm/modelchecker/helper/ltl/SparseLTLHelper.cpp @@ -302,11 +302,8 @@ namespace storm { // States that already reached the InfSet: Prob1E sets an arbitrary choice for the psi states, but we want to stay in this accepting mec. for (auto pState : (newMecStates & _infSets.get()[id])) { - // If we are in the InfSet, we stay in mec-states - // TODO these are global? - storm::storage::FlatSet test = mec.getChoicesForState(pState); - mecScheduler.setChoice(0, pState); //todo get first choice from mec.getChoicesForState(pState); but need local - + // If we are in the InfSet, we move to some state in this MEC. + mecScheduler.setChoice(*mec.getChoicesForState(pState).begin() - transitionMatrix.getRowGroupIndices()[pState], pState); } // Extract scheduler choices (only for states that are already assigned a scheduler, i.e are in another MEC) @@ -580,7 +577,7 @@ namespace storm { da = storm::automata::LTL2DeterministicAutomaton::ltl2daSpot(*ltlFormula, Nondeterministic); } - STORM_PRINT("Deterministic automaton for LTL formula has " + STORM_LOG_DEBUG("Deterministic automaton for LTL formula has " << da->getNumberOfStates() << " states, " << da->getAPSet().size() << " atomic propositions and " << *da->getAcceptance()->getAcceptanceExpression() << " as acceptance condition." << std::endl);