Skip to content

Commit 05e77c1

Browse files
committed
Fix circular call to LanczosInterpolator.copy()
1 parent 96c8315 commit 05e77c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/imglib2/interpolation/randomaccess/LanczosInterpolator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,6 @@ final private double lookUpLanczos( final double x )
232232
@Override
233233
public RealRandomAccess< T > copy()
234234
{
235-
return copy();
235+
return new LanczosInterpolator<>( this );
236236
}
237237
}

0 commit comments

Comments
 (0)