diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-12-29 15:50:11 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-12-29 15:50:11 +0100 |
commit | 25f2b8d82423137efc0e446425016a375e87d5fa (patch) | |
tree | db0c612cc72210a0a3525bd029b82112f0619391 /Eigen/src/CholmodSupport | |
parent | d2e288ae505172fea73e463a09fa9ebb78763a3e (diff) |
bug #1141: add missing initialization of CholmodBase::m_*IsOk
Diffstat (limited to 'Eigen/src/CholmodSupport')
-rw-r--r-- | Eigen/src/CholmodSupport/CholmodSupport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/CholmodSupport/CholmodSupport.h b/Eigen/src/CholmodSupport/CholmodSupport.h index 06421d5ed..5be5a84cb 100644 --- a/Eigen/src/CholmodSupport/CholmodSupport.h +++ b/Eigen/src/CholmodSupport/CholmodSupport.h @@ -178,14 +178,14 @@ class CholmodBase : public SparseSolverBase<Derived> public: CholmodBase() - : m_cholmodFactor(0), m_info(Success) + : m_cholmodFactor(0), m_info(Success), m_factorizationIsOk(false), m_analysisIsOk(false) { m_shiftOffset[0] = m_shiftOffset[1] = RealScalar(0.0); cholmod_start(&m_cholmod); } explicit CholmodBase(const MatrixType& matrix) - : m_cholmodFactor(0), m_info(Success) + : m_cholmodFactor(0), m_info(Success), m_factorizationIsOk(false), m_analysisIsOk(false) { m_shiftOffset[0] = m_shiftOffset[1] = RealScalar(0.0); cholmod_start(&m_cholmod); |