MIssing @Override

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370227 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-08-07 12:48:25 +00:00
parent 404b6196a5
commit 12983d5e04
2 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,7 @@ public class GaussianFitter extends CurveFitter<Gaussian.Parametric> {
*/
public double[] fit(double[] initialGuess) {
final Gaussian.Parametric f = new Gaussian.Parametric() {
@Override
public double value(double x, double ... p) {
double v = Double.POSITIVE_INFINITY;
try {
@ -92,6 +93,7 @@ public class GaussianFitter extends CurveFitter<Gaussian.Parametric> {
return v;
}
@Override
public double[] gradient(double x, double ... p) {
double[] v = { Double.POSITIVE_INFINITY,
Double.POSITIVE_INFINITY,

View File

@ -98,6 +98,7 @@ public class AbstractRealDistributionTest {
return true;
}
@Override
public double probability(final double x) {
throw new UnsupportedOperationException();
}
@ -196,6 +197,7 @@ public class AbstractRealDistributionTest {
return true;
}
@Override
public double probability(final double x) {
throw new UnsupportedOperationException();
}