Skip to content

Commit

Permalink
Scenarios with no causal factors are considered
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakae committed Dec 21, 2023
1 parent 944bc4c commit 9e63afa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ function createFaulTreeForHazard(stpaModel: Model, scenarios: Map<string, LossSc
const causalFactor = scenario.factor;
if (causalFactor) {
addToListMap(causalFactors, causalFactor, scenario);
} else {
addToListMap(causalFactors, "No causal factor", scenario);
}
}

Expand Down

0 comments on commit 9e63afa

Please sign in to comment.