Skip to content

Commit 3354a6f

Browse files
committed
missing modification
1 parent e1eadbd commit 3354a6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/py_eddy_tracker/observations/observation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,8 @@ def solve_conflict(cost):
13301330
def solve_simultaneous(cost):
13311331
"""Write something (TODO)"""
13321332
mask = ~cost.mask
1333+
if mask.size == 0:
1334+
return mask
13331335
# Count number of links by self obs and other obs
13341336
self_links, other_links = sum_row_column(mask)
13351337
max_links = max(self_links.max(), other_links.max())

0 commit comments

Comments
 (0)