From b25b5178178bb2c5f3e2e2238a9d42a270316760 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 2 Dec 2014 13:54:06 +0100 Subject: [PATCH] Fix bug #911: m_extractedDataAreDirty was not initialized in UmfPackLU (grafted from 4974d1d2b4d5f311dea1021d4fb0130ab82efc5e ) --- Eigen/src/UmfPackSupport/UmfPackSupport.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Eigen/src/UmfPackSupport/UmfPackSupport.h b/Eigen/src/UmfPackSupport/UmfPackSupport.h index 3a48cecf7..c126da56b 100644 --- a/Eigen/src/UmfPackSupport/UmfPackSupport.h +++ b/Eigen/src/UmfPackSupport/UmfPackSupport.h @@ -247,6 +247,7 @@ class UmfPackLU : internal::noncopyable m_info = errorCode ? InvalidInput : Success; m_analysisIsOk = true; m_factorizationIsOk = false; + m_extractedDataAreDirty = true; } /** Performs a numeric decomposition of \a matrix @@ -269,6 +270,7 @@ class UmfPackLU : internal::noncopyable m_info = errorCode ? NumericalIssue : Success; m_factorizationIsOk = true; + m_extractedDataAreDirty = true; } #ifndef EIGEN_PARSED_BY_DOXYGEN @@ -286,13 +288,14 @@ class UmfPackLU : internal::noncopyable void init() { - m_info = InvalidInput; - m_isInitialized = false; - m_numeric = 0; - m_symbolic = 0; - m_outerIndexPtr = 0; - m_innerIndexPtr = 0; - m_valuePtr = 0; + m_info = InvalidInput; + m_isInitialized = false; + m_numeric = 0; + m_symbolic = 0; + m_outerIndexPtr = 0; + m_innerIndexPtr = 0; + m_valuePtr = 0; + m_extractedDataAreDirty = true; } void grapInput(const MatrixType& mat)