mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-13 16:41:50 +08:00
Fix perf issue in SimplicialLDLT::solve for complexes (again, m_diag is real)
(grafted from 9549ba83139267af0167a9f44b117451f30c3263 )
This commit is contained in:
parent
165db26dc0
commit
8ee2e10af4
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user