Skip to content

Commit d429638

Browse files
fix: make sure in_place works for renumber
1 parent 8eda629 commit d429638

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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-
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)