diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-09-01 17:16:32 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-09-01 17:16:32 +0200 |
commit | 863b7362bc6cbd6f5c3ba96b4d6935557f9d9486 (patch) | |
tree | c50bbe586e75a833ae7cd0004e61ca6994e3a9a8 | |
parent | 1bf3b3484975ead812c4615f0d54f25d859320c3 (diff) |
Fix usage of m_isInitialized in SparseLU and Pastix support.
-rw-r--r-- | Eigen/src/PaStiXSupport/PaStiXSupport.h | 1 | ||||
-rw-r--r-- | Eigen/src/SparseLU/SparseLU.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index 0dc5c6a6f..95d53c850 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -328,7 +328,6 @@ void PastixBase<Derived>::compute(ColSpMatrix& mat) factorize(mat); m_iparm(IPARM_MATRIX_VERIFICATION) = API_NO; - m_isInitialized = m_factorizationIsOk; } diff --git a/Eigen/src/SparseLU/SparseLU.h b/Eigen/src/SparseLU/SparseLU.h index eb61fe3d9..fb01f99cd 100644 --- a/Eigen/src/SparseLU/SparseLU.h +++ b/Eigen/src/SparseLU/SparseLU.h @@ -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(); |