Skip to content

Commit 01196ad

Browse files
author
Leon Yang
committed
Fix generic type
Although this will not produce any error due to generic type erasure, it could lead to confusion. OutOfBoundsFactory usually has generic type <I, Img<I>>, i.e. the second type is the container of the first one.
1 parent 4c66655 commit 01196ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/imagej/ops/map/neighborhood/array/MapNeighborhoodNativeTypeExtended.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class MapNeighborhoodNativeTypeExtended<I extends NativeType<I>, O extend
5454
protected LogService log;
5555

5656
@Parameter(required = false)
57-
private OutOfBoundsFactory<I, I> oobFactory;
57+
private OutOfBoundsFactory<I, ArrayImg<I, ?>> oobFactory;
5858

5959
@Override
6060
public void compute2(final ArrayImg<I, ?> input, final RectangleShape shape,

0 commit comments

Comments
 (0)