From ad8b6c23420c91e341fff5458af2bb190fdb1c08 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 16 Jun 2010 08:28:34 -0400 Subject: [PATCH] fix #127: remove static keywords that had no effect anyway since the forward-declaration wasn't static, and that would have been bad if they had taken effect. --- Eigen/src/Core/CacheFriendlyProduct.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Eigen/src/Core/CacheFriendlyProduct.h b/Eigen/src/Core/CacheFriendlyProduct.h index 767d93f86..1e3fd30f4 100644 --- a/Eigen/src/Core/CacheFriendlyProduct.h +++ b/Eigen/src/Core/CacheFriendlyProduct.h @@ -33,7 +33,7 @@ struct ei_L2_block_traits { #ifndef EIGEN_EXTERN_INSTANTIATIONS template -static void ei_cache_friendly_product( +void ei_cache_friendly_product( int _rows, int _cols, int depth, bool _lhsRowMajor, const Scalar* _lhs, int _lhsStride, bool _rhsRowMajor, const Scalar* _rhs, int _rhsStride, @@ -352,7 +352,7 @@ static void ei_cache_friendly_product( * TODO: since rhs gets evaluated only once, no need to evaluate it */ template -static EIGEN_DONT_INLINE void ei_cache_friendly_product_colmajor_times_vector( +EIGEN_DONT_INLINE void ei_cache_friendly_product_colmajor_times_vector( int size, const Scalar* lhs, int lhsStride, const RhsType& rhs, @@ -542,7 +542,7 @@ static EIGEN_DONT_INLINE void ei_cache_friendly_product_colmajor_times_vector( // TODO add peeling to mask unaligned load/stores template -static EIGEN_DONT_INLINE void ei_cache_friendly_product_rowmajor_times_vector( +EIGEN_DONT_INLINE void ei_cache_friendly_product_rowmajor_times_vector( const Scalar* lhs, int lhsStride, const Scalar* rhs, int rhsSize, ResType& res)