From 47fda1f3b2cfc7bd20157ebdd135d32b5799f36f Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 24 Aug 2009 00:01:02 +0200 Subject: hm, forgot to conjugate the arguments in applyJacobiOnTheLeft --- Eigen/src/Jacobi/Jacobi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Jacobi') 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::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. -- cgit v1.2.3