|
|
@ -202,10 +202,12 @@ namespace storm { |
|
|
|
assert(dependency->dependentEvents().size() == 1); |
|
|
|
if (getElementState(dependency->dependentEvents()[0]->id()) == DFTElementState::Operational) { |
|
|
|
STORM_LOG_ASSERT(!isFailsafe(dependency->dependentEvents()[0]->id()), "Dependent event is failsafe."); |
|
|
|
if (std::find(mFailableDependencies.begin(), mFailableDependencies.end(), dependency->id()) == mFailableDependencies.end()) { |
|
|
|
mFailableDependencies.push_back(dependency->id()); |
|
|
|
STORM_LOG_TRACE("New dependency failure: " << dependency->toString()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return nrFailableDependencies() > 0; |
|
|
|
} |
|
|
|
|
|
|
|