mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +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);
|
factorize(mat);
|
||||||
|
|
||||||
m_iparm(IPARM_MATRIX_VERIFICATION) = API_NO;
|
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;
|
typedef typename IndexVector::Scalar Index;
|
||||||
|
|
||||||
|
m_isInitialized = true;
|
||||||
|
|
||||||
|
|
||||||
// Apply the column permutation computed in analyzepattern()
|
// Apply the column permutation computed in analyzepattern()
|
||||||
// m_mat = matrix * m_perm_c.inverse();
|
// m_mat = matrix * m_perm_c.inverse();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user