mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-17 03:43:13 +08:00
fix LLT rank one update for "upper" hermitian matrices
This commit is contained in:
parent
0d02182ae8
commit
38a4e3053d
@ -306,7 +306,7 @@ template<> struct llt_inplace<Upper>
|
||||
static void rankUpdate(MatrixType& mat, const VectorType& vec)
|
||||
{
|
||||
Transpose<MatrixType> matt(mat);
|
||||
return llt_inplace<Lower>::rankUpdate(matt, vec);
|
||||
return llt_inplace<Lower>::rankUpdate(matt, vec.conjugate());
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user