mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-11 18:00:51 +08:00
Fix usage of m_isInitialized in SparseLU and Pastix support.
This commit is contained in:
parent
1bf3b34849
commit
863b7362bc
@ -328,7 +328,6 @@ void PastixBase<Derived>::compute(ColSpMatrix& mat)
|
||||
factorize(mat);
|
||||
|
||||
m_iparm(IPARM_MATRIX_VERIFICATION) = API_NO;
|
||||
m_isInitialized = m_factorizationIsOk;
|
||||
}
|
||||
|
||||
|
||||
|
@ -482,6 +482,8 @@ void SparseLU<MatrixType, OrderingType>::factorize(const MatrixType& matrix)
|
||||
|
||||
typedef typename IndexVector::Scalar Index;
|
||||
|
||||
m_isInitialized = true;
|
||||
|
||||
|
||||
// Apply the column permutation computed in analyzepattern()
|
||||
// m_mat = matrix * m_perm_c.inverse();
|
||||
|
Loading…
Reference in New Issue
Block a user