From 8302ce6cdce7826c2f390e3edb3184e094213fd0 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 16 Jul 2009 09:10:34 +0200 Subject: [PATCH] remove the special version of ei_pow(int,int) for gcc >= 4.3 that was stupid because gcc convert it to a pow(double,double) --- Eigen/src/Core/CacheFriendlyProduct.h | 2 +- Eigen/src/Core/MathFunctions.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Eigen/src/Core/CacheFriendlyProduct.h b/Eigen/src/Core/CacheFriendlyProduct.h index 0d851b17e..b1362b0a8 100644 --- a/Eigen/src/Core/CacheFriendlyProduct.h +++ b/Eigen/src/Core/CacheFriendlyProduct.h @@ -180,7 +180,7 @@ static void ei_cache_friendly_product( { int offsetblock = l2k * (l2blockRowEnd-l2i) + (l1i-l2i)*(l2blockSizeEnd-l2k) - l2k*MaxBlockRows; const Scalar* EIGEN_RESTRICT localB = &block[offsetblock]; - + for(int l1j=l2j; l1j inline int ei_random(int a, int b) {