Skip to content

Commit 3420ae1

Browse files
fix: improper return type for renumber
1 parent ab3c459 commit 3420ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cc3d/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def largest_k(
262262
try:
263263
import fastremap # type: ignore[import-not-found]
264264
cc_out = fastremap.mask_except(cc_labels, preserve_list, in_place=True)
265-
cc_out = fastremap.renumber(cc_out, in_place=True)
265+
cc_out, _ = fastremap.renumber(cc_out, in_place=True)
266266
except ImportError:
267267
shape, dtype = cc_labels.shape, cc_labels.dtype
268268
rns = fastcc3d.runs(cc_labels)

0 commit comments

Comments
 (0)