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:
parent
497fe1c79b
commit
9ad58f46b0
|
@ -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} */
|
||||
|
|
Loading…
Reference in New Issue