diff --git a/Eigen/src/Core/CacheFriendlyProduct.h b/Eigen/src/Core/CacheFriendlyProduct.h index a2ed440c92..1e06c17832 100644 --- a/Eigen/src/Core/CacheFriendlyProduct.h +++ b/Eigen/src/Core/CacheFriendlyProduct.h @@ -99,6 +99,7 @@ static void ei_cache_friendly_product( Scalar* EIGEN_RESTRICT rhsCopy = ei_aligned_stack_new(Scalar, l2BlockSizeAligned*l2BlockSizeAligned); +#ifndef EIGEN_USE_NEW_PRODUCT // loops on each L2 cache friendly blocks of the result for(int l2i=0; l2i