mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Fix givens rotation.
This commit is contained in:
parent
33b04fe518
commit
14f845a1a8
@ -75,7 +75,7 @@ void r1updt(Matrix<Scalar, Dynamic, Dynamic> &s, const Matrix<Scalar, Dynamic, 1
|
|||||||
/* givens rotation. */
|
/* givens rotation. */
|
||||||
w_givens[j] = givens;
|
w_givens[j] = givens;
|
||||||
} else
|
} else
|
||||||
v_givens[j] = IdentityRotation;
|
w_givens[j] = IdentityRotation;
|
||||||
|
|
||||||
/* test for zero diagonal elements in the output s. */
|
/* test for zero diagonal elements in the output s. */
|
||||||
if (s(j, j) == 0.) {
|
if (s(j, j) == 0.) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user