Dropped extraneous parens.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764210 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2009-04-11 15:33:38 +00:00
parent 023345c2c0
commit d271b3132c

View File

@ -1043,7 +1043,7 @@ public class TTestImpl implements TTest {
double v2, double n1, double n2) double v2, double n1, double n2)
throws MathException { throws MathException {
double t = Math.abs(homoscedasticT(m1, m2, v1, v2, n1, n2)); double t = Math.abs(homoscedasticT(m1, m2, v1, v2, n1, n2));
double degreesOfFreedom = (n1 + n2 - 2); double degreesOfFreedom = n1 + n2 - 2;
distribution.setDegreesOfFreedom(degreesOfFreedom); distribution.setDegreesOfFreedom(degreesOfFreedom);
return 2.0 * distribution.cumulativeProbability(-t); return 2.0 * distribution.cumulativeProbability(-t);
} }