Browse Source

dependencies as children are dummy output

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
0d010fa6dc
  1. 8
      src/storm-dft/storage/dft/DFTBuilder.cpp

8
src/storm-dft/storage/dft/DFTBuilder.cpp

@ -25,9 +25,11 @@ namespace storm {
if (itFind != mElements.end()) { if (itFind != mElements.end()) {
// Child found // Child found
DFTElementPointer childElement = itFind->second; 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 { } else {
// Child not found -> find first dependent event to assure that child is dependency // Child not found -> find first dependent event to assure that child is dependency
// TODO: Not sure whether this is the intended behaviour? // TODO: Not sure whether this is the intended behaviour?

Loading…
Cancel
Save