From 9ccd16609cc100c0749692e90b9ac353b3faf153 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 27 Jan 2011 14:39:01 +0100 Subject: [PATCH] fix twisted selfadjoint to selfadjoint (conjugation issue) --- Eigen/src/Sparse/SparseSelfAdjointView.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Eigen/src/Sparse/SparseSelfAdjointView.h b/Eigen/src/Sparse/SparseSelfAdjointView.h index 3749c604a..0f76ed581 100644 --- a/Eigen/src/Sparse/SparseSelfAdjointView.h +++ b/Eigen/src/Sparse/SparseSelfAdjointView.h @@ -367,6 +367,7 @@ void permute_symm_to_symm(const MatrixType& mat, SparseMatrix Dest; Dest& dest(_dest.derived()); typedef Matrix VectorI; + internal::conj_if cj; Index size = mat.rows(); VectorI count(size); @@ -404,7 +405,7 @@ void permute_symm_to_symm(const MatrixType& mat, SparseMatrix