mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
correct bug when applying column permutation
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user