aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/UmfPackSupport
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-12-02 13:54:06 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-12-02 13:54:06 +0100
commit4974d1d2b4d5f311dea1021d4fb0130ab82efc5e (patch)
tree2bcbd6f7e7d0e34ed1e159577612c343045fc5c0 /Eigen/src/UmfPackSupport
parente2f3e4e4aaabb186cf6023d9e30b8b1879e2e60d (diff)
Fix bug #911: m_extractedDataAreDirty was not initialized in UmfPackLU
Diffstat (limited to 'Eigen/src/UmfPackSupport')
-rw-r--r--Eigen/src/UmfPackSupport/UmfPackSupport.h17
1 files 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<UmfPackLU<_MatrixType> >
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<UmfPackLU<_MatrixType> >
m_info = errorCode ? NumericalIssue : Success;
m_factorizationIsOk = true;
+ m_extractedDataAreDirty = true;
}
#ifndef EIGEN_PARSED_BY_DOXYGEN
@@ -264,13 +266,14 @@ class UmfPackLU : public SparseSolverBase<UmfPackLU<_MatrixType> >
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)