From ff96c94043d575e4d0dd477c1ed2487e33f79627 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 11 Jul 2010 15:48:30 +0200 Subject: mixing types in product step 2: * pload* and pset1 are now templated on the packet type * gemv routines are now embeded into a structure with a consistent API with respect to gemm * some configurations of vector * matrix and matrix * matrix works fine, some need more work... --- Eigen/src/Core/DiagonalProduct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/DiagonalProduct.h') diff --git a/Eigen/src/Core/DiagonalProduct.h b/Eigen/src/Core/DiagonalProduct.h index 610d13dc8..14c49e828 100644 --- a/Eigen/src/Core/DiagonalProduct.h +++ b/Eigen/src/Core/DiagonalProduct.h @@ -91,7 +91,7 @@ class DiagonalProduct : ei_no_assignment_operator, EIGEN_STRONG_INLINE PacketScalar packet_impl(Index row, Index col, Index id, ei_meta_true) const { return ei_pmul(m_matrix.template packet(row, col), - ei_pset1(m_diagonal.diagonal().coeff(id))); + ei_pset1(m_diagonal.diagonal().coeff(id))); } template -- cgit v1.2.3