mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
correct bug when applying column permutation
This commit is contained in:
parent
de2544cc9b
commit
e529bc9cc1
@ -244,7 +244,7 @@ class SparseLU
|
||||
} // End For U-solve
|
||||
|
||||
// Permute back the solution
|
||||
X = m_perm_c * X;
|
||||
X = m_perm_c.inverse() * X;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user