commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1002040 - /commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java
Date Tue, 28 Sep 2010 07:18:31 GMT
Author: luc
Date: Tue Sep 28 07:18:31 2010
New Revision: 1002040

URL: http://svn.apache.org/viewvc?rev=1002040&view=rev
Log:
fixed a missing change from Math to FastMath

Modified:
    commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java

Modified: commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java?rev=1002040&r1=1002039&r2=1002040&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java
(original)
+++ commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java
Tue Sep 28 07:18:31 2010
@@ -146,8 +146,8 @@ public class EigenDecompositionImpl impl
             for (int j = i + 1; j < columns; ++j) {
                 final double mij = matrix.getEntry(i, j);
                 final double mji = matrix.getEntry(j, i);
-                if (FastMath.abs(mij - mji) > (FastMath.max(FastMath.abs(mij), Math
-                        .abs(mji)) * eps)) {
+                if (FastMath.abs(mij - mji) >
+                    (FastMath.max(FastMath.abs(mij), FastMath.abs(mji)) * eps)) {
                     return false;
                 }
             }



Mime
View raw message