Skip to content

Commit 352fa0e

Browse files
committed
fix unionfind relabel bug (never 'clean up')
1 parent eec8c6c commit 352fa0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/imglib2/algorithm/labeling/ConnectedComponentAnalysis.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ public static < B extends BooleanType< B >, C extends RealComposite< B >, L exte
377377
}
378378
}
379379
}
380-
UnionFind.relabel( labeling, uf, id, idForSet );
380+
uf.relabel( labeling, id, idForSet );
381381
}
382382

383383
/**

0 commit comments

Comments
 (0)