Replace deprecated method call.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1385299 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2012-09-16 16:09:17 +00:00
parent 497fe1c79b
commit 9ad58f46b0
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public class ChiSquaredDistribution extends AbstractRealDistribution {
* @return the degrees of freedom.
*/
public double getDegreesOfFreedom() {
return gamma.getAlpha() * 2.0;
return gamma.getShape() * 2.0;
}
/** {@inheritDoc} */