diff --git a/src/storm/analysis/GraphConditions.cpp b/src/storm/analysis/GraphConditions.cpp index be8073bf7..663bf2b52 100644 --- a/src/storm/analysis/GraphConditions.cpp +++ b/src/storm/analysis/GraphConditions.cpp @@ -35,6 +35,8 @@ namespace storm { void ConstraintCollector::wellformedRequiresNonNegativeEntries(std::vector const& vec) { for(auto const& entry : vec) { if (!storm::utility::isConstant(entry)) { + auto const& transitionVars = entry.gatherVariables(); + variableSet.insert(transitionVars.begin(), transitionVars.end()); if (entry.denominator().isConstant()) { if (entry.denominatorAsNumber() > 0) { wellformedConstraintSet.emplace(entry.nominator().polynomialWithCoefficient(), storm::CompareRelation::GEQ);