mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
an attempt to fix a compilation issue with MSVC
This commit is contained in:
parent
979431b987
commit
a7bebe0aeb
@ -126,6 +126,7 @@ class SparseLLT<MatrixType,Cholmod> : public SparseLLT<MatrixType>
|
|||||||
typedef SparseLLT<MatrixType> Base;
|
typedef SparseLLT<MatrixType> Base;
|
||||||
typedef typename Base::Scalar Scalar;
|
typedef typename Base::Scalar Scalar;
|
||||||
typedef typename Base::RealScalar RealScalar;
|
typedef typename Base::RealScalar RealScalar;
|
||||||
|
typedef typename Base::CholMatrixType CholMatrixType;
|
||||||
using Base::MatrixLIsDirty;
|
using Base::MatrixLIsDirty;
|
||||||
using Base::SupernodalFactorIsDirty;
|
using Base::SupernodalFactorIsDirty;
|
||||||
using Base::m_flags;
|
using Base::m_flags;
|
||||||
@ -154,7 +155,7 @@ class SparseLLT<MatrixType,Cholmod> : public SparseLLT<MatrixType>
|
|||||||
cholmod_finish(&m_cholmod);
|
cholmod_finish(&m_cholmod);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline const typename Base::CholMatrixType& matrixL(void) const;
|
inline const CholMatrixType& matrixL() const;
|
||||||
|
|
||||||
template<typename Derived>
|
template<typename Derived>
|
||||||
bool solveInPlace(MatrixBase<Derived> &b) const;
|
bool solveInPlace(MatrixBase<Derived> &b) const;
|
||||||
@ -198,7 +199,7 @@ void SparseLLT<MatrixType,Cholmod>::compute(const MatrixType& a)
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename MatrixType>
|
template<typename MatrixType>
|
||||||
inline const typename SparseLLT<MatrixType>::CholMatrixType&
|
inline const typename SparseLLT<MatrixType,Cholmod>::CholMatrixType&
|
||||||
SparseLLT<MatrixType,Cholmod>::matrixL() const
|
SparseLLT<MatrixType,Cholmod>::matrixL() const
|
||||||
{
|
{
|
||||||
if (m_status & MatrixLIsDirty)
|
if (m_status & MatrixLIsDirty)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user