commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1304215 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/SymmLQTest.java
Date Fri, 23 Mar 2012 07:25:45 GMT
Author: celestin
Date: Fri Mar 23 07:25:44 2012
New Revision: 1304215

URL: http://svn.apache.org/viewvc?rev=1304215&view=rev
Log:
Corrected copy/paste typo, which caused ConjugateGradient to be tested in place of SymmLQ.
Some tests now fail (see MATH-770).

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/SymmLQTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/SymmLQTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/SymmLQTest.java?rev=1304215&r1=1304214&r2=1304215&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/SymmLQTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/SymmLQTest.java
Fri Mar 23 07:25:44 2012
@@ -628,7 +628,7 @@ public class SymmLQTest {
                 doTestNormOfResidual(e);
             }
         };
-        solver = new ConjugateGradient(maxIterations, 1E-10, true);
+        solver = new SymmLQ(maxIterations, 1E-10, true);
         solver.getIterationManager().addIterationListener(listener);
         final RealVector b = new ArrayRealVector(n);
         for (int j = 0; j < n; j++) {
@@ -675,7 +675,7 @@ public class SymmLQTest {
                 doTestNormOfResidual(e);
             }
         };
-        solver = new ConjugateGradient(maxIterations, 1E-10, true);
+        solver = new SymmLQ(maxIterations, 1E-10, true);
         solver.getIterationManager().addIterationListener(listener);
         final RealVector b = new ArrayRealVector(n);
         for (int j = 0; j < n; j++) {



Mime
View raw message