mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-21 08:53:17 +08:00
hm, forgot to conjugate the arguments in applyJacobiOnTheLeft
This commit is contained in:
parent
e86dbd5255
commit
47fda1f3b2
@ -45,7 +45,7 @@ inline void MatrixBase<Derived>::applyJacobiOnTheLeft(int p, int q, Scalar c, Sc
|
|||||||
{
|
{
|
||||||
RowXpr x(row(p));
|
RowXpr x(row(p));
|
||||||
RowXpr y(row(q));
|
RowXpr y(row(q));
|
||||||
ei_apply_rotation_in_the_plane(x, y, c, s);
|
ei_apply_rotation_in_the_plane(x, y, ei_conj(c), ei_conj(s));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Applies a rotation in the plane defined by \a c, \a s to the columns \a p and \a q of \c *this.
|
/** Applies a rotation in the plane defined by \a c, \a s to the columns \a p and \a q of \c *this.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user