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:
parent
404b6196a5
commit
12983d5e04
|
@ -82,6 +82,7 @@ public class GaussianFitter extends CurveFitter<Gaussian.Parametric> {
|
||||||
*/
|
*/
|
||||||
public double[] fit(double[] initialGuess) {
|
public double[] fit(double[] initialGuess) {
|
||||||
final Gaussian.Parametric f = new Gaussian.Parametric() {
|
final Gaussian.Parametric f = new Gaussian.Parametric() {
|
||||||
|
@Override
|
||||||
public double value(double x, double ... p) {
|
public double value(double x, double ... p) {
|
||||||
double v = Double.POSITIVE_INFINITY;
|
double v = Double.POSITIVE_INFINITY;
|
||||||
try {
|
try {
|
||||||
|
@ -92,6 +93,7 @@ public class GaussianFitter extends CurveFitter<Gaussian.Parametric> {
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public double[] gradient(double x, double ... p) {
|
public double[] gradient(double x, double ... p) {
|
||||||
double[] v = { Double.POSITIVE_INFINITY,
|
double[] v = { Double.POSITIVE_INFINITY,
|
||||||
Double.POSITIVE_INFINITY,
|
Double.POSITIVE_INFINITY,
|
||||||
|
|
|
@ -98,6 +98,7 @@ public class AbstractRealDistributionTest {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public double probability(final double x) {
|
public double probability(final double x) {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
@ -196,6 +197,7 @@ public class AbstractRealDistributionTest {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public double probability(final double x) {
|
public double probability(final double x) {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue