diff --git a/payntbind/src/synthesis/counterexamples/CounterexampleMdp.cpp b/payntbind/src/synthesis/counterexamples/CounterexampleMdp.cpp index a1a05dcb..c739a3db 100644 --- a/payntbind/src/synthesis/counterexamples/CounterexampleMdp.cpp +++ b/payntbind/src/synthesis/counterexamples/CounterexampleMdp.cpp @@ -466,7 +466,7 @@ std::pair CounterexampleGeneratorMdp::expandAndC this->timer_model_check.stop(); storm::modelchecker::ExplicitQuantitativeCheckResult& model_check_result = this->hint_result->template asExplicitQuantitativeCheckResult(); - auto comparisonType = this->formula_modified[index]->asOperatorFormula().getComparisonType(); + auto comparisonType = this->formula_modified[formula_index]->asOperatorFormula().getComparisonType(); bool satisfied; if(this->formula_safety[formula_index]) {