Browse Source

Fixed possible infinite recursion

Former-commit-id: 5fdbae4203
tempestpy_adaptions
Mavo 9 years ago
parent
commit
5fc36c291c
  1. 2
      src/logic/BinaryStateFormula.cpp

2
src/logic/BinaryStateFormula.cpp

@ -43,7 +43,7 @@ namespace storm {
} }
bool BinaryStateFormula::containsNestedRewardOperators() const { bool BinaryStateFormula::containsNestedRewardOperators() const {
return this->containsNestedRewardOperators() || this->getRightSubformula().containsNestedRewardOperators();
return this->getLeftSubformula().containsNestedRewardOperators() || this->getRightSubformula().containsNestedRewardOperators();
} }
Formula const& BinaryStateFormula::getLeftSubformula() const { Formula const& BinaryStateFormula::getLeftSubformula() const {

Loading…
Cancel
Save