From 38a4e3053dc762994c1cb5f6c2d8e1e6af1bfa38 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 19 Jul 2011 10:09:43 +0200 Subject: fix LLT rank one update for "upper" hermitian matrices --- Eigen/src/Cholesky/LLT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Cholesky/LLT.h b/Eigen/src/Cholesky/LLT.h index 685f0b01e..89e8d98cb 100644 --- a/Eigen/src/Cholesky/LLT.h +++ b/Eigen/src/Cholesky/LLT.h @@ -306,7 +306,7 @@ template<> struct llt_inplace static void rankUpdate(MatrixType& mat, const VectorType& vec) { Transpose matt(mat); - return llt_inplace::rankUpdate(matt, vec); + return llt_inplace::rankUpdate(matt, vec.conjugate()); } }; -- cgit v1.2.3