You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ce...@apache.org on 2012/03/23 08:25:45 UTC

svn commit: r1304215 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/SymmLQTest.java

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++) {