We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfa0198 commit 59c0e5bCopy full SHA for 59c0e5b
climada/engine/impact_calc.py
@@ -240,8 +240,8 @@ def _return_impact(self, imp_mat_gen, save_mat):
240
self.exposures, self.hazard, at_event, eai_exp, aai_agg, imp_mat
241
)
242
if isinstance(self.hazard, HazardForecast):
243
- return ImpactForecast().from_impact(
244
- impact, self.hazard.ensemble_member, self.hazard.lead_time
+ return ImpactForecast.from_impact(
+ impact, self.hazard.lead_time, self.hazard.member
245
) # return ImpactForecast object
246
else:
247
return (
@@ -275,8 +275,8 @@ def _return_empty(self, save_mat):
275
276
277
278
279
280
281
282
0 commit comments