Skip to content

Commit

Permalink
Add changes
Browse files Browse the repository at this point in the history
  • Loading branch information
margrietpalm committed Jun 21, 2024
1 parent ac65d36 commit 530b470
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog of threedigrid-builder
================================

1.14.3 (unreleased)
-------------------

- Fix error for schematisation without any breaches


1.14.2 (2024-05-17)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion threedigrid_builder/interface/dict_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def get_breaches(self, breaches: PotentialBreaches):
Returns:
breaches dict of 1D ndarrays
"""
if len(breaches) == 0:
if breaches is None or len(breaches) == 0:
return

# sort by id
Expand Down

0 comments on commit 530b470

Please sign in to comment.