replaced an intermediate variable by its opposite for easier to read expression
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@701846 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fcb63bbdac
commit
f0aeb29d16
|
@ -118,12 +118,12 @@ class TriDiagonalTransformer implements Serializable {
|
|||
final double[] qtJ = qtData[j];
|
||||
double beta = 0;
|
||||
for (int i = k; i < m; ++i) {
|
||||
beta -= qtJ[i] * hK[i];
|
||||
beta += qtJ[i] * hK[i];
|
||||
}
|
||||
beta *= inv;
|
||||
|
||||
for (int i = k; i < m; ++i) {
|
||||
qtJ[i] -= beta * hK[i];
|
||||
qtJ[i] += beta * hK[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue