Browse Source

Merge branch 'master' of https://github.com/sjunges/storm

tempestpy_adaptions
Sebastian Junges 4 years ago
parent
commit
a326f876f4
  1. 10
      src/storm/storage/expressions/PredicateExpression.cpp

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

@ -143,11 +143,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