diff --git a/src/storage/dft/DFT.cpp b/src/storage/dft/DFT.cpp index 4111a2113..653a5dc78 100644 --- a/src/storage/dft/DFT.cpp +++ b/src/storage/dft/DFT.cpp @@ -26,23 +26,18 @@ namespace storm { } else if (elem->isSpareGate()) { ++mNrOfSpares; - bool firstChild = true; mMaxSpareChildCount = std::max(mMaxSpareChildCount, std::static_pointer_cast>(elem)->children().size()); for(auto const& spareReprs : std::static_pointer_cast>(elem)->children()) { std::set module = {spareReprs->id()}; spareReprs->extendSpareModule(module); std::vector sparesAndBes; for(size_t modelem : module) { - if (spareReprs->id() != modelem && (isRepresentative(modelem) || (!firstChild && mTopLevelIndex == modelem))) { - STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "Module for '" << spareReprs->name() << "' contains more than one representative."); - } if(mElements[modelem]->isSpareGate() || mElements[modelem]->isBasicElement()) { sparesAndBes.push_back(modelem); mRepresentants.insert(std::make_pair(modelem, spareReprs->id())); } } mSpareModules.insert(std::make_pair(spareReprs->id(), sparesAndBes)); - firstChild = false; } } else if (elem->isDependency()) {