Skip to content

Commit dec4c9e

Browse files
fix: fill holes on no color
1 parent 32b8be9 commit dec4c9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fastmorph/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def _fill_holes_2d(
451451
return_N=True,
452452
)
453453

454-
if N == 1:
454+
if N <= 1:
455455
return slice_labels, set()
456456

457457
orig_map = fastremap.component_map(cc_labels, slice_labels)

0 commit comments

Comments
 (0)