From 0d010fa6dcc94ebb1a1b5c005a5f9cdc26a77a0a Mon Sep 17 00:00:00 2001 From: Sebastian Junges Date: Thu, 15 Dec 2016 10:52:06 +0100 Subject: [PATCH] dependencies as children are dummy output --- src/storm-dft/storage/dft/DFTBuilder.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/storm-dft/storage/dft/DFTBuilder.cpp b/src/storm-dft/storage/dft/DFTBuilder.cpp index 44846612f..f2a17541a 100644 --- a/src/storm-dft/storage/dft/DFTBuilder.cpp +++ b/src/storm-dft/storage/dft/DFTBuilder.cpp @@ -25,9 +25,11 @@ namespace storm { if (itFind != mElements.end()) { // Child found DFTElementPointer childElement = itFind->second; - STORM_LOG_ASSERT(!childElement->isDependency(), "Child is dependency."); - gate->pushBackChild(childElement); - childElement->addParent(gate); + STORM_LOG_TRACE("Ignore functional dependency " << child << " in gate " << gate->name()); + if(!childElement->isDependency()) { + gate->pushBackChild(childElement); + childElement->addParent(gate); + } } else { // Child not found -> find first dependent event to assure that child is dependency // TODO: Not sure whether this is the intended behaviour?