Browse Source

Update src/storm/storage/expressions/PredicateExpression.cpp

Co-authored-by: Tim Quatmann <tim.quatmann@cs.rwth-aachen.de>
tempestpy_adaptions
Sebastian Junges 3 years ago
committed by GitHub
parent
commit
df1aefda71
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/storm/storage/expressions/PredicateExpression.cpp

2
src/storm/storage/expressions/PredicateExpression.cpp

@ -106,10 +106,12 @@ namespace storm {
case PredicateExpression::PredicateType::AtLeastOneOf: stream << "atLeastOneOf("; case PredicateExpression::PredicateType::AtLeastOneOf: stream << "atLeastOneOf(";
case PredicateExpression::PredicateType::ExactlyOneOf: stream << "exactlyOneOf("; case PredicateExpression::PredicateType::ExactlyOneOf: stream << "exactlyOneOf(";
} }
if (!operands.empty()) {
stream << *operands[0]; stream << *operands[0];
for (uint64_t i = 1; i < operands.size(); i++) { for (uint64_t i = 1; i < operands.size(); i++) {
stream << ", " << *operands[i]; stream << ", " << *operands[i];
} }
}
stream << ")"; stream << ")";
} }
} }
Loading…
Cancel
Save