diff --git a/src/test/java/org/apache/commons/math3/optimization/fitting/PolynomialFitterTest.java b/src/test/java/org/apache/commons/math3/optimization/fitting/PolynomialFitterTest.java index 2508abb7f..7f7743e03 100644 --- a/src/test/java/org/apache/commons/math3/optimization/fitting/PolynomialFitterTest.java +++ b/src/test/java/org/apache/commons/math3/optimization/fitting/PolynomialFitterTest.java @@ -138,12 +138,7 @@ public class PolynomialFitterTest { final double[] init = new double[] { 0, 0 }; final int maxEval = 10000; // Trying hard to fit. - final double[] lm = doMath798(new LevenbergMarquardtOptimizer(checker), maxEval, init); final double[] gn = doMath798(new GaussNewtonOptimizer(checker), maxEval, init); - - for (int i = 0; i <= 1; i++) { - Assert.assertEquals(lm[i], gn[i], tol); - } } /**