commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r915816 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/EigenSolverTest.java
Date Wed, 24 Feb 2010 15:18:38 GMT
Author: luc
Date: Wed Feb 24 15:18:37 2010
New Revision: 915816

URL: http://svn.apache.org/viewvc?rev=915816&view=rev
Log:
removed a compilation warning about unused variable

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

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/EigenSolverTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/EigenSolverTest.java?rev=915816&r1=915815&r2=915816&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/EigenSolverTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/EigenSolverTest.java
Wed Feb 24 15:18:37 2010
@@ -122,7 +122,7 @@
 
         // using RealMatrix
         RealMatrix solution=es.solve(b);
-        assertEquals(0, es.solve(b).subtract(xRef).getNorm(), 2.5e-12);
+        assertEquals(0, solution.subtract(xRef).getNorm(), 2.5e-12);
 
         // using double[]
         for (int i = 0; i < b.getColumnDimension(); ++i) {



Mime
View raw message