an attempt to fix a compilation issue with MSVC
diff --git a/Eigen/src/Sparse/CholmodSupport.h b/Eigen/src/Sparse/CholmodSupport.h index 30a33c3..f02374d 100644 --- a/Eigen/src/Sparse/CholmodSupport.h +++ b/Eigen/src/Sparse/CholmodSupport.h
@@ -126,6 +126,7 @@ 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; @@ -154,7 +155,7 @@ cholmod_finish(&m_cholmod); } - inline const typename Base::CholMatrixType& matrixL(void) const; + inline const CholMatrixType& matrixL() const; template<typename Derived> bool solveInPlace(MatrixBase<Derived> &b) const; @@ -198,7 +199,7 @@ } template<typename MatrixType> -inline const typename SparseLLT<MatrixType>::CholMatrixType& +inline const typename SparseLLT<MatrixType,Cholmod>::CholMatrixType& SparseLLT<MatrixType,Cholmod>::matrixL() const { if (m_status & MatrixLIsDirty)