mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-13 18:03:13 +08:00
Fix perf issue in SimplicialLDLT::solve for complexes (again, m_diag is real)
This commit is contained in:
parent
c8b2c603b0
commit
9549ba8313
@ -616,7 +616,7 @@ public:
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user