"Precision.compareTo" returns an "int".

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537053 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2013-10-30 11:46:00 +00:00
parent a4ffd39333
commit 5526877f31
1 changed files with 2 additions and 2 deletions

View File

@ -828,7 +828,7 @@ public class EigenDecomposition {
for (int j = l; j <= idx; j++) {
r = r + matrixT[i][j] * matrixT[j][idx];
}
if (Precision.compareTo(imagEigenvalues[i], 0.0, EPSILON) < 0.0) {
if (Precision.compareTo(imagEigenvalues[i], 0.0, EPSILON) < 0) {
z = w;
s = r;
} else {
@ -890,7 +890,7 @@ public class EigenDecomposition {
}
double w = matrixT[i][i] - p;
if (Precision.compareTo(imagEigenvalues[i], 0.0, EPSILON) < 0.0) {
if (Precision.compareTo(imagEigenvalues[i], 0.0, EPSILON) < 0) {
z = w;
r = ra;
s = sa;