Skip to content

Commit 7b1a6bb

Browse files
authored
Fixes aai_agg and tot_value having an int with default __init__
1 parent f198a6a commit 7b1a6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

climada/engine/impact.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ def __init__(
107107
crs=DEF_CRS,
108108
eai_exp=None,
109109
at_event=None,
110-
tot_value=0,
111-
aai_agg=0,
110+
tot_value=0.,
111+
aai_agg=0.,
112112
unit="",
113113
imp_mat=None,
114114
haz_type="",

0 commit comments

Comments
 (0)