diff --git a/src/java/org/apache/commons/math/stat/descriptive/moment/GeometricMean.java b/src/java/org/apache/commons/math/stat/descriptive/moment/GeometricMean.java index a52196557..4b5417ded 100644 --- a/src/java/org/apache/commons/math/stat/descriptive/moment/GeometricMean.java +++ b/src/java/org/apache/commons/math/stat/descriptive/moment/GeometricMean.java @@ -123,7 +123,7 @@ public class GeometricMean extends AbstractStorelessUnivariateStatistic { /** *

Sets the implementation for the sum of logs.

*

This method must be activated before any data has been added - i.e., - * before {@link #addValue(double) addValue} has been used to add data; + * before {@link #increment(double) increment} has been used to add data; * otherwise an IllegalStateException will be thrown.

* * @param sumLogImpl the StorelessUnivariateStatistic instance to use