diff --git a/src/storm-dft/modelchecker/dft/DFTASFChecker.cpp b/src/storm-dft/modelchecker/dft/DFTASFChecker.cpp index ae70b1317..fa5ada44c 100644 --- a/src/storm-dft/modelchecker/dft/DFTASFChecker.cpp +++ b/src/storm-dft/modelchecker/dft/DFTASFChecker.cpp @@ -356,6 +356,7 @@ namespace storm { // Encoding for gates for (size_t i = 0; i < dft.nrElements(); ++i) { std::shared_ptr const> element = dft.getElement(i); + STORM_LOG_ASSERT(i == element->id(), "Id and index should match."); // Get indices for gate children std::vector childVarIndices;