From 4974d1d2b4d5f311dea1021d4fb0130ab82efc5e 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 --- 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 1c5800ffa..1dc7ddba0 100644 --- a/Eigen/src/UmfPackSupport/UmfPackSupport.h +++ b/Eigen/src/UmfPackSupport/UmfPackSupport.h @@ -225,6 +225,7 @@ class UmfPackLU : public SparseSolverBase > m_info = errorCode ? InvalidInput : Success; m_analysisIsOk = true; m_factorizationIsOk = false; + m_extractedDataAreDirty = true; } /** Performs a numeric decomposition of \a matrix @@ -247,6 +248,7 @@ class UmfPackLU : public SparseSolverBase > m_info = errorCode ? NumericalIssue : Success; m_factorizationIsOk = true; + m_extractedDataAreDirty = true; } #ifndef EIGEN_PARSED_BY_DOXYGEN @@ -264,13 +266,14 @@ class UmfPackLU : public SparseSolverBase > 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)