From e04c3f2cc02d8c4c5378f297ff19cb9251514f94 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 6 Jul 2010 19:15:02 +0200 Subject: [PATCH] reduce code generation and minor speed up --- Eigen/src/Core/products/GeneralMatrixMatrix.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Eigen/src/Core/products/GeneralMatrixMatrix.h b/Eigen/src/Core/products/GeneralMatrixMatrix.h index 5d63aee3d..5150daacd 100644 --- a/Eigen/src/Core/products/GeneralMatrixMatrix.h +++ b/Eigen/src/Core/products/GeneralMatrixMatrix.h @@ -80,9 +80,9 @@ static void run(Index rows, Index cols, Index depth, Index mc = std::min(rows,blocking.mc()); // cache block size along the M direction //Index nc = blocking.nc(); // cache block size along the N direction - ei_gemm_pack_lhs pack_lhs; - ei_gemm_pack_rhs pack_rhs; - ei_gebp_kernel gebp; + ei_gemm_pack_lhs pack_lhs; + ei_gemm_pack_rhs pack_rhs; + ei_gebp_kernel gebp; #ifdef EIGEN_HAS_OPENMP if(info) @@ -234,7 +234,7 @@ struct ei_gemm_functor { if(cols==-1) cols = m_rhs.cols(); - + Gemm::run(rows, cols, m_lhs.cols(), (const Scalar*)&(m_lhs.const_cast_derived().coeffRef(row,0)), m_lhs.outerStride(), (const Scalar*)&(m_rhs.const_cast_derived().coeffRef(0,col)), m_rhs.outerStride(),