diff --git a/projects/Math/58/org/apache/commons/math/optimization/fitting/GaussianFitter.java b/projects/Math/58/org/apache/commons/math/optimization/fitting/GaussianFitter.java index ae7ac39..e1b54f4 100644 --- a/projects/Math/58/org/apache/commons/math/optimization/fitting/GaussianFitter.java +++ b/projects/Math/58/org/apache/commons/math/optimization/fitting/GaussianFitter.java @@ -118,7 +118,7 @@ public double[] gradient(double x, double[] p) { */ public double[] fit() { final double[] guess = (new ParameterGuesser(getObservations())).guess(); - return fit(new Gaussian.Parametric(), guess); + return fit(guess); } /**