Skip to content

Commit

Permalink
Remove redundant median method
Browse files Browse the repository at this point in the history
This is not required as the distribution overrides the probability(x0,
x1) method.
  • Loading branch information
aherbert committed Oct 16, 2021
1 parent 8302fd9 commit c9b05ff
Showing 1 changed file with 0 additions and 8 deletions.
Expand Up @@ -193,14 +193,6 @@ public boolean isSupportConnected() {
return true;
}

/** {@inheritDoc} */
@Override
protected double getMedian() {
// Overridden for the probability(double, double) method.
// This is intentionally not a public method.
return mean;
}

/** {@inheritDoc} */
@Override
public ContinuousDistribution.Sampler createSampler(final UniformRandomProvider rng) {
Expand Down

0 comments on commit c9b05ff

Please sign in to comment.