Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IAH public
LocalZProjector
Commits
e6d69394
Commit
e6d69394
authored
Jun 03, 2020
by
Jean-Yves TINEVEZ
Browse files
Use new CursorBasedChunk method signature.
parent
cf739299
Pipeline
#31542
failed with stages
in 12 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/pasteur/iah/localzprojector/binning/BinningOp.java
View file @
e6d69394
...
...
@@ -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
()
];
...
...
src/main/java/fr/pasteur/iah/localzprojector/binning/UnBinningOp.java
View file @
e6d69394
...
...
@@ -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
()
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment