Skip to content

Commit 1981fe9

Browse files
committed
Fix bug in to_input_var
1 parent 8a20d9f commit 1981fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

climada/util/calibrate/cross_calibrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def to_csv(self, filepath):
7878
def to_input_var(self, impact_func_gen, **impfset_kwargs):
7979
"""Build Unsequa InputVar from the parameters stored in this object"""
8080
impf_set_list = [
81-
impact_func_gen(**params) for _, params in self.data.iterrows()
81+
impact_func_gen(**row["Parameters"]) for _, row in self.data.iterrows()
8282
]
8383
return InputVar.impfset(impf_set_list, **impfset_kwargs)
8484

0 commit comments

Comments
 (0)