mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix perf issue in SimplicialLDLT::solve for complexes (again, m_diag is real)
(grafted from 9549ba8313
)
This commit is contained in:
@@ -608,7 +608,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(Base::m_diag.size()>0)
|
if(Base::m_diag.size()>0)
|
||||||
dest = Base::m_diag.asDiagonal().inverse() * dest;
|
dest = Base::m_diag.real().asDiagonal().inverse() * dest;
|
||||||
|
|
||||||
if (Base::m_matrix.nonZeros()>0) // otherwise I==I
|
if (Base::m_matrix.nonZeros()>0) // otherwise I==I
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user