Skip to content

Commit ef011ea

Browse files
author
Richard Domander
committed
Conform to new API
This commit also rebased branch
1 parent f9cd535 commit ef011ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/imagej/ops/geom/CentroidTuple3D.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
public class CentroidTuple3D extends AbstractUnaryFunctionOp<Collection<? extends Tuple3d>, Vector3d>
1818
implements Ops.Geometric.Centroid {
1919
@Override
20-
public Vector3d compute1(final Collection<? extends Tuple3d> input) {
20+
public Vector3d calculate(final Collection<? extends Tuple3d> input) {
2121
final int vectors = input.size();
2222
if (vectors == 0) {
2323
return new Vector3d(Double.NaN, Double.NaN, Double.NaN);

0 commit comments

Comments
 (0)