Skip to content

Commit

Permalink
perf(dust): don't need to copy precomputed ccl
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Nov 26, 2024
1 parent 15382f8 commit 147f543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cc3d/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def dust(
img = np.copy(img)

if precomputed_ccl:
cc_labels = np.copy(img, order="F")
cc_labels = img
N = np.max(cc_labels)
else:
cc_labels, N = connected_components(
Expand Down

0 comments on commit 147f543

Please sign in to comment.