diff --git a/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java index 88fd82b08..af9cfe8ae 100644 --- a/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java @@ -308,18 +308,24 @@ public class FDistributionImpl final double numeratorDF = getNumeratorDegreesOfFreedom(); final double denomDFMinusTwo = denominatorDF - 2; - return ( 2 * (denominatorDF * denominatorDF) * (numeratorDF + denominatorDF - 2) ) - / ( (numeratorDF * (denomDFMinusTwo * denomDFMinusTwo) * (denominatorDF - 4)) ); + return ( 2 * (denominatorDF * denominatorDF) * (numeratorDF + denominatorDF - 2) ) / + ( (numeratorDF * (denomDFMinusTwo * denomDFMinusTwo) * (denominatorDF - 4)) ); } return Double.NaN; } + /** + * {@inheritDoc} + */ @Override public boolean isSupportLowerBoundInclusive() { return true; } + /** + * {@inheritDoc} + */ @Override public boolean isSupportUpperBoundInclusive() { return false;