You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2010/09/28 09:18:31 UTC
svn commit: r1002040 -
/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/EigenDecompositionImpl.java
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;
}
}