Skip to content

Commit f3ab44a

Browse files
committed
Fix bug in test
1 parent 554cfc8 commit f3ab44a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

climada/engine/test/test_impact_calc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ def test_single_exp_zero_mdr(self):
692692
imp = ImpactCalc(exp, impf_set, haz).impact(
693693
assign_centroids=False, save_mat=True
694694
)
695-
check_impact(imp, haz, exp, aai_agg, eai_exp, at_event, at_event)
695+
check_impact(imp, haz, exp, aai_agg, eai_exp, at_event, np.array([at_event]).T)
696696

697697

698698
class TestImpactCalcForecast:

0 commit comments

Comments
 (0)