From 0b6b316f1887ec640279f13798e061f835e5a761 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 15 Apr 2010 12:36:28 +0200 Subject: [PATCH] an attempt to fix compilation with MSVC --- Eigen/src/Sparse/TaucsSupport.h | 5 +++-- 1 file 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 : public SparseLLT typedef SparseLLT 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 : public SparseLLT taucs_supernodal_factor_free(m_taucsSupernodalFactor); } - inline const typename Base::CholMatrixType& matrixL(void) const; + inline const CholMatrixType& matrixL() const; template void solveInPlace(MatrixBase &b) const; @@ -156,7 +157,7 @@ void SparseLLT::compute(const MatrixType& a) } template -inline const typename SparseLLT::CholMatrixType& +inline const typename SparseLLT::CholMatrixType& SparseLLT::matrixL() const { if (m_status & MatrixLIsDirty)