You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2009/04/11 17:32:25 UTC
svn commit: r764209 -
/commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/moment/Skewness.java
Author: psteitz
Date: Sat Apr 11 15:32:18 2009
New Revision: 764209
URL: http://svn.apache.org/viewvc?rev=764209&view=rev
Log:
Dropped extraneous parens.
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/moment/Skewness.java
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/moment/Skewness.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/moment/Skewness.java?rev=764209&r1=764208&r2=764209&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/moment/Skewness.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/moment/Skewness.java Sat Apr 11 15:32:18 2009
@@ -167,7 +167,7 @@
accum += Math.pow((values[i] - m), 2.0);
accum2 += (values[i] - m);
}
- double stdDev = Math.sqrt((accum - (Math.pow(accum2, 2) / (length))) /
+ double stdDev = Math.sqrt((accum - (Math.pow(accum2, 2) / length)) /
(length - 1));
double accum3 = 0.0;