Fix compilation of iterative solvers with dense matrices

This commit is contained in:
Gael Guennebaud
2015-03-09 21:31:03 +01:00
parent d4317a85e8
commit fd78874888
2 changed files with 13 additions and 13 deletions

View File

@@ -185,7 +185,7 @@ public:
{
typedef typename internal::conditional<UpLo==(Lower|Upper),
Ref<const MatrixType>&,
SparseSelfAdjointView<const Ref<const MatrixType>, UpLo>
typename Ref<const MatrixType>::template ConstSelfAdjointViewReturnType<UpLo>::Type
>::type MatrixWrapperType;
m_iterations = Base::maxIterations();
m_error = Base::m_tolerance;