aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-10-19 17:07:20 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-10-19 17:07:20 +0000
commit64f7fbe3f2e8a92bd9cbad452e6707c75840d95f (patch)
tree36fed5e70fb0e316f0f268c5ba1fa5734ce0e077 /Eigen
parent76fe2e1b34b4388ea3d9585bc840a0bab20ee5be (diff)
sparse module: some trivial bugfixes
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Sparse/CholmodSupport.h2
-rw-r--r--Eigen/src/Sparse/SparseLLT.h2
-rw-r--r--Eigen/src/Sparse/SuperLUSupport.h4
-rw-r--r--Eigen/src/Sparse/TaucsSupport.h2
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<MatrixType,Cholmod> : public SparseLLT<MatrixType>
}
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<MatrixType,Backend>::compute(const MatrixType& a)
}
for (int k=0; k<j+1; ++k)
{
- typename MatrixType::InnerIterator it(m_matrix, k);
+ typename CholMatrixType::InnerIterator it(m_matrix, k);
while (it && it.index()<j)
++it;
if (it && it.index()==j)
diff --git a/Eigen/src/Sparse/SuperLUSupport.h b/Eigen/src/Sparse/SuperLUSupport.h
index 9ffadb053..fd2899f06 100644
--- a/Eigen/src/Sparse/SuperLUSupport.h
+++ b/Eigen/src/Sparse/SuperLUSupport.h
@@ -225,7 +225,7 @@ class SparseLU<MatrixType,SuperLU> : public SparseLU<MatrixType>
}
SparseLU(const MatrixType& matrix, int flags = NaturalOrdering)
- : Base(matrix, flags)
+ : Base(flags)
{
compute(matrix);
}
@@ -312,7 +312,7 @@ void SparseLU<MatrixType,SuperLU>::compute(const MatrixType& a)
StatFree(&m_sluStat);
// FIXME how to check for errors ???
- m_succeeded = true;
+ Base::m_succeeded = true;
}
// template<typename MatrixType>
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<MatrixType,Taucs> : public SparseLLT<MatrixType>
}
SparseLLT(const MatrixType& matrix, int flags = 0)
- : Base(matrix, flags), m_taucsSupernodalFactor(0)
+ : Base(flags), m_taucsSupernodalFactor(0)
{
compute(matrix);
}