diff --git a/src/test/java/org/apache/commons/math/linear/EigenSolverTest.java b/src/test/java/org/apache/commons/math/linear/EigenSolverTest.java index 2b442da62..e3202af48 100644 --- a/src/test/java/org/apache/commons/math/linear/EigenSolverTest.java +++ b/src/test/java/org/apache/commons/math/linear/EigenSolverTest.java @@ -122,7 +122,7 @@ public class EigenSolverTest extends TestCase { // 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) {