Skip to content

Commit 222644d

Browse files
spjuhelpeanutfun
andauthored
Applies suggestion from Lukas (1)
Co-authored-by: Lukas Riedel <[email protected]>
1 parent f6d9feb commit 222644d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

climada/entity/impact_funcs/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ def __eq__(self, value: object, /) -> bool:
108108
and np.array_equal(self.mdd, value.mdd)
109109
and np.array_equal(self.paa, value.paa)
110110
)
111-
else:
112-
return False
111+
return False
113112

114113
def calc_mdr(self, inten: Union[float, np.ndarray]) -> np.ndarray:
115114
"""Interpolate impact function to a given intensity.

0 commit comments

Comments
 (0)