Skip to content

Commit b6e1a7f

Browse files
authored
Fix logging of asset count in impact calculation
1 parent f3c2f8d commit b6e1a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

climada/engine/impact_calc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def impact(
186186
return self._return_empty(save_mat)
187187
LOGGER.info(
188188
"Calculating impact for %s assets (>0) and %s events.",
189-
exp_gdf.size,
189+
len(exp_gdf),
190190
self.n_events,
191191
)
192192
imp_mat_gen = self.imp_mat_gen(exp_gdf, impf_col)

0 commit comments

Comments
 (0)