commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1411809 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/fitting/PolynomialFitterTest.java
Date Tue, 20 Nov 2012 19:33:18 GMT
Author: erans
Date: Tue Nov 20 19:33:17 2012
New Revision: 1411809

URL: http://svn.apache.org/viewvc?rev=1411809&view=rev
Log:
Unnecessary code removed.

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/fitting/PolynomialFitterTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/fitting/PolynomialFitterTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/fitting/PolynomialFitterTest.java?rev=1411809&r1=1411808&r2=1411809&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/fitting/PolynomialFitterTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/fitting/PolynomialFitterTest.java
Tue Nov 20 19:33:17 2012
@@ -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);
-        }
     }
 
     /**



Mime
View raw message