Skip to content

Commit 21969c5

Browse files
committed
update from code: add_func to append
1 parent e41b100 commit 21969c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

climada/test/test_drought_integr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_switzerland(self):
4242
dr_if = ImpactFuncSet()
4343
if_def = IFDrought()
4444
if_def.set_default()
45-
dr_if.add_func(if_def)
45+
dr_if.append(if_def)
4646

4747
exposure_agrar = SpamAgrar()
4848
exposure_agrar.init_spam_agrar(country='CHE')

0 commit comments

Comments
 (0)