Fixed checkstyle errors: hidden field, missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054298 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
57d660e718
commit
d19ccac2a9
|
@ -288,15 +288,21 @@ public class GammaDistributionImpl extends AbstractContinuousDistribution
|
|||
*/
|
||||
@Override
|
||||
protected double calculateNumericalVariance() {
|
||||
final double beta = getBeta();
|
||||
return getAlpha() * beta * beta;
|
||||
final double b = getBeta();
|
||||
return getAlpha() * b * b;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public boolean isSupportLowerBoundInclusive() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public boolean isSupportUpperBoundInclusive() {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue