diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-11-23 15:10:28 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-11-23 15:10:28 +0100 |
commit | a7842daef2c82a9be200dff54d455f6d4a0b199c (patch) | |
tree | bb02aa50861ac4bd0e63fb5b7a4fcbf77dc8daa1 /Eigen/src/IterativeLinearSolvers | |
parent | a4760548793811ee1accf8de05ff791a43d54be5 (diff) |
Fix several uninitialized member from ctor
Diffstat (limited to 'Eigen/src/IterativeLinearSolvers')
-rw-r--r-- | Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h b/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h index e45c272b4..5a827c52c 100644 --- a/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +++ b/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h @@ -76,12 +76,12 @@ class IncompleteCholesky : public SparseSolverBase<IncompleteCholesky<Scalar,_Up * * \sa IncompleteCholesky(const MatrixType&) */ - IncompleteCholesky() : m_initialShift(1e-3),m_factorizationIsOk(false) {} + IncompleteCholesky() : m_initialShift(1e-3),m_analysisIsOk(false),m_factorizationIsOk(false) {} /** Constructor computing the incomplete factorization for the given matrix \a matrix. */ template<typename MatrixType> - IncompleteCholesky(const MatrixType& matrix) : m_initialShift(1e-3),m_factorizationIsOk(false) + IncompleteCholesky(const MatrixType& matrix) : m_initialShift(1e-3),m_analysisIsOk(false),m_factorizationIsOk(false) { compute(matrix); } |