Skip to content

Commit 6e15b39

Browse files
committed
Fix
1 parent 9fcf3a9 commit 6e15b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

threedigrid_builder/interface/dict_out.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def get_breaches(self, breaches: PotentialBreaches):
290290
Returns:
291291
breaches dict of 1D ndarrays
292292
"""
293-
if len(breaches) == 0:
293+
if breaches is None or len(breaches) == 0:
294294
return
295295

296296
# sort by id

0 commit comments

Comments
 (0)