mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-11 15:29:03 +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
|
} // End For U-solve
|
||||||
|
|
||||||
// Permute back the solution
|
// Permute back the solution
|
||||||
X = m_perm_c * X;
|
X = m_perm_c.inverse() * X;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user