diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-08-04 16:13:34 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-08-04 16:13:34 +0200 |
commit | 506964fc29dc8ad2f76bed5cdaacbc1d39785912 (patch) | |
tree | e217460c3fceb0a5e3f352c273e5d5566dcb117e /Eigen/src/IterativeLinearSolvers/IncompleteLUT.h | |
parent | db0f5c9d90f76f21f231063d9cbd8ac7f274a011 (diff) |
Propagate precondition info to the iterative solver.
Diffstat (limited to 'Eigen/src/IterativeLinearSolvers/IncompleteLUT.h')
-rw-r--r-- | Eigen/src/IterativeLinearSolvers/IncompleteLUT.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h b/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h index 102e01f76..b644163f1 100644 --- a/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +++ b/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h @@ -232,7 +232,7 @@ void IncompleteLUT<Scalar,StorageIndex>::analyzePattern(const _MatrixType& amat) m_analysisIsOk = true; m_factorizationIsOk = false; - m_isInitialized = false; + m_isInitialized = true; } template <typename Scalar, typename StorageIndex> @@ -441,7 +441,6 @@ void IncompleteLUT<Scalar,StorageIndex>::factorize(const _MatrixType& amat) m_lu.makeCompressed(); m_factorizationIsOk = true; - m_isInitialized = m_factorizationIsOk; m_info = Success; } |