Commit e6d69394 authored by Jean-Yves TINEVEZ's avatar Jean-Yves TINEVEZ
Browse files

Use new CursorBasedChunk method signature.

parent cf739299
Pipeline #31542 failed with stages
in 12 minutes and 39 seconds
......@@ -72,7 +72,7 @@ public class BinningOp< T extends RealType< T > > extends AbstractUnaryFunctionO
ops().run( ChunkerOp.class, new CursorBasedChunk()
{
@Override
public void execute( final int startIndex, final int stepSize, final int numSteps )
public void execute( final long startIndex, final long stepSize, final long numSteps )
{
final RandomAccess< Neighborhood< T > > ra = ran.randomAccess( input );
final long[] currPos = new long[ input.numDimensions() ];
......
......@@ -56,7 +56,7 @@ public class UnBinningOp< T extends RealType< T > & NativeType< T > > extends Ab
ops().run( ChunkerOp.class, new CursorBasedChunk()
{
@Override
public void execute( final int startIndex, final int stepSize, final int numSteps )
public void execute( final long startIndex, final long stepSize, final long numSteps )
{
final RandomAccess< T > ra = extended.randomAccess();
final long[] currPos = new long[ input.numDimensions() ];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment