Skip to content

Commit

Permalink
fix bug preventing SI errors from reporting properly in agg stage dam…
Browse files Browse the repository at this point in the history
…age.
  • Loading branch information
Brennan1994 committed Oct 31, 2024
1 parent 5ebbc82 commit 18db5a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions HEC.FDA.Model/stageDamage/ImpactAreaStageDamage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,7 @@ public void Validate()
Inventory.Validate();
if(Inventory.ErrorLevel > ErrorLevel)
{
HasErrors = true;
ErrorLevel = Inventory.ErrorLevel;
}
}
Expand Down
1 change: 0 additions & 1 deletion HEC.FDA.Model/stageDamage/ScenarioStageDamage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public ScenarioStageDamage(List<ImpactAreaStageDamage> impactAreaStageDamages)
/// <returns></returns>
public (List<UncertainPairedData>, List<UncertainPairedData>) Compute(IProvideRandomNumbers randomProvider)
{

(List<UncertainPairedData>, List<UncertainPairedData>) scenarioStageDamageResults = new(new List<UncertainPairedData>(), new List<UncertainPairedData>());

foreach (ImpactAreaStageDamage impactAreaStageDamage in _ImpactAreaStageDamage)
Expand Down

0 comments on commit 18db5a7

Please sign in to comment.