From b4fa8261b138353f2048816747cf543cd2784435 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 10 Nov 2010 19:06:20 +0100 Subject: [PATCH] properly use nested types --- Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h b/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h index c29ea90fd..c31bb48db 100644 --- a/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +++ b/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h @@ -196,14 +196,16 @@ struct tribb_kernel // high level API template -template -TriangularView& TriangularView::assignProduct(const ProductBase& prod, const Scalar& alpha) +template +TriangularView& TriangularView::assignProduct(const ProductBase& prod, const Scalar& alpha) { + typedef typename internal::remove_all::type Lhs; typedef internal::blas_traits LhsBlasTraits; typedef typename LhsBlasTraits::DirectLinearAccessType ActualLhs; typedef typename internal::remove_all::type _ActualLhs; const ActualLhs actualLhs = LhsBlasTraits::extract(prod.lhs()); + typedef typename internal::remove_all::type Rhs; typedef internal::blas_traits RhsBlasTraits; typedef typename RhsBlasTraits::DirectLinearAccessType ActualRhs; typedef typename internal::remove_all::type _ActualRhs;