mirror of
https://github.com/apache/commons-math.git
synced 2025-02-07 02:29:20 +00:00
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:
parent
023345c2c0
commit
d271b3132c
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user