diff --git a/src/storm-parsers/parser/FormulaParserGrammar.cpp b/src/storm-parsers/parser/FormulaParserGrammar.cpp index 72a8721af..3a45a9682 100644 --- a/src/storm-parsers/parser/FormulaParserGrammar.cpp +++ b/src/storm-parsers/parser/FormulaParserGrammar.cpp @@ -329,11 +329,11 @@ namespace storm { std::vector> lowerBounds, upperBounds; std::vector timeBoundReferences; for (auto const& timeBound : timeBounds.get()) { + STORM_LOG_ASSERT(!std::get<0>(timeBound), "Lower bounds are not implemented for globally formulas."); lowerBounds.push_back(std::get<0>(timeBound)); upperBounds.push_back(std::get<1>(timeBound)); timeBoundReferences.emplace_back(*std::get<2>(timeBound)); } - STORM_LOG_ASSERT(lowerBounds.size() == 0, "Lower bounds are not implemented for globally formulas."); return std::shared_ptr(new storm::logic::BoundedGloballyFormula(subformula, lowerBounds, upperBounds, timeBoundReferences)); } else { return std::shared_ptr(new storm::logic::GloballyFormula(subformula));