diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-11-10 19:06:20 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-11-10 19:06:20 +0100 |
commit | b4fa8261b138353f2048816747cf543cd2784435 (patch) | |
tree | 0e61ad6292bc0ae7a2b1c5b16556673f109fbc83 /Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h | |
parent | 05ed9be639bd588af95ef613c2df814c08d702e9 (diff) |
properly use nested types
Diffstat (limited to 'Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h')
-rw-r--r-- | Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h | 6 |
1 files 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<typename MatrixType, unsigned int UpLo> -template<typename ProductDerived, typename Lhs, typename Rhs> -TriangularView<MatrixType,UpLo>& TriangularView<MatrixType,UpLo>::assignProduct(const ProductBase<ProductDerived, Lhs,Rhs>& prod, const Scalar& alpha) +template<typename ProductDerived, typename _Lhs, typename _Rhs> +TriangularView<MatrixType,UpLo>& TriangularView<MatrixType,UpLo>::assignProduct(const ProductBase<ProductDerived, _Lhs,_Rhs>& prod, const Scalar& alpha) { + typedef typename internal::remove_all<typename ProductDerived::LhsNested>::type Lhs; typedef internal::blas_traits<Lhs> LhsBlasTraits; typedef typename LhsBlasTraits::DirectLinearAccessType ActualLhs; typedef typename internal::remove_all<ActualLhs>::type _ActualLhs; const ActualLhs actualLhs = LhsBlasTraits::extract(prod.lhs()); + typedef typename internal::remove_all<typename ProductDerived::RhsNested>::type Rhs; typedef internal::blas_traits<Rhs> RhsBlasTraits; typedef typename RhsBlasTraits::DirectLinearAccessType ActualRhs; typedef typename internal::remove_all<ActualRhs>::type _ActualRhs; |