From 64f7fbe3f2e8a92bd9cbad452e6707c75840d95f Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 19 Oct 2008 17:07:20 +0000 Subject: [PATCH] sparse module: some trivial bugfixes --- Eigen/src/Sparse/CholmodSupport.h | 2 +- Eigen/src/Sparse/SparseLLT.h | 2 +- Eigen/src/Sparse/SuperLUSupport.h | 4 ++-- Eigen/src/Sparse/TaucsSupport.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Eigen/src/Sparse/CholmodSupport.h b/Eigen/src/Sparse/CholmodSupport.h index 0e51f1d67..d1d10158a 100644 --- a/Eigen/src/Sparse/CholmodSupport.h +++ b/Eigen/src/Sparse/CholmodSupport.h @@ -120,7 +120,7 @@ class SparseLLT : public SparseLLT } SparseLLT(const MatrixType& matrix, int flags = 0) - : Base(matrix, flags), m_cholmodFactor(0) + : Base(flags), m_cholmodFactor(0) { cholmod_start(&m_cholmod); compute(matrix); diff --git a/Eigen/src/Sparse/SparseLLT.h b/Eigen/src/Sparse/SparseLLT.h index e0d923075..7578a12c7 100644 --- a/Eigen/src/Sparse/SparseLLT.h +++ b/Eigen/src/Sparse/SparseLLT.h @@ -154,7 +154,7 @@ void SparseLLT::compute(const MatrixType& a) } for (int k=0; k : public SparseLU } SparseLU(const MatrixType& matrix, int flags = NaturalOrdering) - : Base(matrix, flags) + : Base(flags) { compute(matrix); } @@ -312,7 +312,7 @@ void SparseLU::compute(const MatrixType& a) StatFree(&m_sluStat); // FIXME how to check for errors ??? - m_succeeded = true; + Base::m_succeeded = true; } // template diff --git a/Eigen/src/Sparse/TaucsSupport.h b/Eigen/src/Sparse/TaucsSupport.h index a92a63b57..5edf0fc27 100644 --- a/Eigen/src/Sparse/TaucsSupport.h +++ b/Eigen/src/Sparse/TaucsSupport.h @@ -99,7 +99,7 @@ class SparseLLT : public SparseLLT } SparseLLT(const MatrixType& matrix, int flags = 0) - : Base(matrix, flags), m_taucsSupernodalFactor(0) + : Base(flags), m_taucsSupernodalFactor(0) { compute(matrix); }