removed extra calculation.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140971 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark R. Diggory 2003-07-07 14:15:20 +00:00
parent e449062da5
commit 41ac4c9203
1 changed files with 1 additions and 3 deletions

View File

@ -73,9 +73,7 @@ public class GeometricMean extends AbstractStorelessUnivariateStatistic {
*/
public double increment(double d) {
n++;
sumLog.increment(d);
value = Math.exp( sumLog.increment(d) / (double)n );
return value;
return Math.exp( sumLog.increment(d) / (double)n );
}
/**