"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:
parent
a4ffd39333
commit
5526877f31
|
@ -828,7 +828,7 @@ public class EigenDecomposition {
|
||||||
for (int j = l; j <= idx; j++) {
|
for (int j = l; j <= idx; j++) {
|
||||||
r = r + matrixT[i][j] * matrixT[j][idx];
|
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;
|
z = w;
|
||||||
s = r;
|
s = r;
|
||||||
} else {
|
} else {
|
||||||
|
@ -890,7 +890,7 @@ public class EigenDecomposition {
|
||||||
}
|
}
|
||||||
double w = matrixT[i][i] - p;
|
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;
|
z = w;
|
||||||
r = ra;
|
r = ra;
|
||||||
s = sa;
|
s = sa;
|
||||||
|
|
Loading…
Reference in New Issue