Skip to content

Commit 3aad06c

Browse files
committed
Actually use the specified ExecutorService in ConnectedComponents ...
1 parent 51b56a8 commit 3aad06c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public static < T extends IntegerType< T >, L, I extends IntegerType< I > > void
145145
for ( final I i : Views.iterable( output ) )
146146
i.setZero();
147147

148-
final int numLabels = labelAllConnectedComponents( input, output, se ) + 1;
148+
final int numLabels = labelAllConnectedComponents( input, output, se, service ) + 1;
149149

150150
final ArrayList< Set< L > > labelSets = new ArrayList< Set< L > >();
151151
labelSets.add( new HashSet< L >() );

0 commit comments

Comments
 (0)