Fix bug #911: m_extractedDataAreDirty was not initialized in UmfPackLU

This commit is contained in:
Gael Guennebaud 2014-12-02 13:54:06 +01:00
parent e2f3e4e4aa
commit 4974d1d2b4

View File

@ -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)