From 4577812519bd21f94df1c3bfd4b54d5e9b8e2047 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Tue, 20 Nov 2012 19:33:17 +0000 Subject: [PATCH] Unnecessary code removed. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411809 13f79535-47bb-0310-9956-ffa450edef68 --- .../math3/optimization/fitting/PolynomialFitterTest.java | 5 ----- 1 file changed, 5 deletions(-) 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); - } } /**