aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Jacobi
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-08-24 00:01:02 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-08-24 00:01:02 +0200
commit47fda1f3b2cfc7bd20157ebdd135d32b5799f36f (patch)
tree5697d5fe37907c9c8c691fa5a62724a17f8b9d13 /Eigen/src/Jacobi
parente86dbd5255ade8c875ab2712667224e9745c62d9 (diff)
hm, forgot to conjugate the arguments in applyJacobiOnTheLeft
Diffstat (limited to 'Eigen/src/Jacobi')
-rw-r--r--Eigen/src/Jacobi/Jacobi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Jacobi/Jacobi.h b/Eigen/src/Jacobi/Jacobi.h
index 28b6cc7ad..a6670a49f 100644
--- a/Eigen/src/Jacobi/Jacobi.h
+++ b/Eigen/src/Jacobi/Jacobi.h
@@ -45,7 +45,7 @@ inline void MatrixBase<Derived>::applyJacobiOnTheLeft(int p, int q, Scalar c, Sc
{
RowXpr x(row(p));
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.