Browse Source

Add assertion for an implied limitation

tempestpy_adaptions
Daniel Basgöze 5 years ago
parent
commit
a244b5ff67
  1. 1
      src/storm-dft/modelchecker/dft/DFTASFChecker.cpp

1
src/storm-dft/modelchecker/dft/DFTASFChecker.cpp

@ -254,6 +254,7 @@ namespace storm {
do { do {
// Construct selected children from combination // Construct selected children from combination
std::vector<uint64_t> combinationChildren; std::vector<uint64_t> combinationChildren;
STORM_LOG_ASSERT(vot->nrChildren() < 64, "Too many children of a VOT Gate.");
for (size_t j = 0; j < vot->nrChildren(); ++j) { for (size_t j = 0; j < vot->nrChildren(); ++j) {
if (combination & (1ul << j)) { if (combination & (1ul << j)) {
combinationChildren.push_back(childVarIndices.at(j)); combinationChildren.push_back(childVarIndices.at(j));

Loading…
Cancel
Save