From 023345c2c06adab69f5b9b76f7cb5c6a3d591baa Mon Sep 17 00:00:00 2001 From: Phil Steitz Date: Sat, 11 Apr 2009 15:32:18 +0000 Subject: [PATCH] Dropped extraneous parens. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764209 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/math/stat/descriptive/moment/Skewness.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/math/stat/descriptive/moment/Skewness.java b/src/java/org/apache/commons/math/stat/descriptive/moment/Skewness.java index 03df4e385..504a5c366 100644 --- a/src/java/org/apache/commons/math/stat/descriptive/moment/Skewness.java +++ b/src/java/org/apache/commons/math/stat/descriptive/moment/Skewness.java @@ -167,7 +167,7 @@ public class Skewness extends AbstractStorelessUnivariateStatistic implements Se 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;