We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1eadbd commit 3354a6fCopy full SHA for 3354a6f
src/py_eddy_tracker/observations/observation.py
@@ -1330,6 +1330,8 @@ def solve_conflict(cost):
1330
def solve_simultaneous(cost):
1331
"""Write something (TODO)"""
1332
mask = ~cost.mask
1333
+ if mask.size == 0:
1334
+ return mask
1335
# Count number of links by self obs and other obs
1336
self_links, other_links = sum_row_column(mask)
1337
max_links = max(self_links.max(), other_links.max())
0 commit comments