Browse Source

Fixed awkward printing of eventually formulas with reward accumulations.

tempestpy_adaptions
TimQu 6 years ago
parent
commit
8865857f21
  1. 2
      src/storm/logic/EventuallyFormula.cpp

2
src/storm/logic/EventuallyFormula.cpp

@ -57,10 +57,10 @@ namespace storm {
std::ostream& EventuallyFormula::writeToStream(std::ostream& out) const { std::ostream& EventuallyFormula::writeToStream(std::ostream& out) const {
out << "F "; out << "F ";
this->getSubformula().writeToStream(out);
if (hasRewardAccumulation()) { if (hasRewardAccumulation()) {
out << "[" << getRewardAccumulation() << "]"; out << "[" << getRewardAccumulation() << "]";
} }
this->getSubformula().writeToStream(out);
return out; return out;
} }
} }

Loading…
Cancel
Save