aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-04-15 12:36:28 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-04-15 12:36:28 +0200
commit0b6b316f1887ec640279f13798e061f835e5a761 (patch)
treeff3af08d0572acb2e750c0a1cbdc2e0c7ed5bf62 /Eigen
parenta2324d626524852851e8b4b35c504bbdbc1a648e (diff)
an attempt to fix compilation with MSVC
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Sparse/TaucsSupport.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Eigen/src/Sparse/TaucsSupport.h b/Eigen/src/Sparse/TaucsSupport.h
index f2a9d19dc..19e54cdc6 100644
--- a/Eigen/src/Sparse/TaucsSupport.h
+++ b/Eigen/src/Sparse/TaucsSupport.h
@@ -80,6 +80,7 @@ class SparseLLT<MatrixType,Taucs> : public SparseLLT<MatrixType>
typedef SparseLLT<MatrixType> Base;
typedef typename Base::Scalar Scalar;
typedef typename Base::RealScalar RealScalar;
+ typedef typename Base::CholMatrixType CholMatrixType;
using Base::MatrixLIsDirty;
using Base::SupernodalFactorIsDirty;
using Base::m_flags;
@@ -105,7 +106,7 @@ class SparseLLT<MatrixType,Taucs> : public SparseLLT<MatrixType>
taucs_supernodal_factor_free(m_taucsSupernodalFactor);
}
- inline const typename Base::CholMatrixType& matrixL(void) const;
+ inline const CholMatrixType& matrixL() const;
template<typename Derived>
void solveInPlace(MatrixBase<Derived> &b) const;
@@ -156,7 +157,7 @@ void SparseLLT<MatrixType,Taucs>::compute(const MatrixType& a)
}
template<typename MatrixType>
-inline const typename SparseLLT<MatrixType>::CholMatrixType&
+inline const typename SparseLLT<MatrixType,Taucs>::CholMatrixType&
SparseLLT<MatrixType,Taucs>::matrixL() const
{
if (m_status & MatrixLIsDirty)