Skip to content

Commit fd2bdf2

Browse files
spjuhelpeanutfun
andauthored
Update climada/entity/impact_funcs/test/test_imp_fun_set.py
Co-authored-by: Lukas Riedel <[email protected]>
1 parent dcdee86 commit fd2bdf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

climada/entity/impact_funcs/test/test_imp_fun_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def setUp(self):
297297
mdd = np.array([0, 0.5])
298298

299299
fun_1 = ImpactFunc("TC", 3, intensity, mdd, paa)
300-
fun_2 = ImpactFunc("TC", 3, intensity, mdd, paa)
300+
fun_2 = ImpactFunc("TC", 3, deepcopy(intensity), deepcopy(mdd), deepcopy(paa))
301301
fun_3 = ImpactFunc("TC", 4, intensity + 1, mdd, paa)
302302

303303
self.impact_set1 = ImpactFuncSet([fun_1])

0 commit comments

Comments
 (0)