|
@ -226,7 +226,7 @@ namespace storm { |
|
|
std::shared_ptr<DFTBE<ValueType>> be = std::static_pointer_cast<DFTBE<ValueType>>(element); |
|
|
std::shared_ptr<DFTBE<ValueType>> be = std::static_pointer_cast<DFTBE<ValueType>>(element); |
|
|
ValueType dormancyFactor = storm::utility::zero<ValueType>(); |
|
|
ValueType dormancyFactor = storm::utility::zero<ValueType>(); |
|
|
if (!storm::utility::isZero(be->passiveFailureRate())) { |
|
|
if (!storm::utility::isZero(be->passiveFailureRate())) { |
|
|
dormancyFactor = be->activeFailureRate() / be->passiveFailureRate(); |
|
|
|
|
|
|
|
|
dormancyFactor = be->passiveFailureRate() / be->activeFailureRate(); |
|
|
} |
|
|
} |
|
|
addBasicElement(be->name(), be->activeFailureRate(), dormancyFactor); |
|
|
addBasicElement(be->name(), be->activeFailureRate(), dormancyFactor); |
|
|
break; |
|
|
break; |