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. 10
      src/storm/storage/expressions/PredicateExpression.cpp

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

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