From 2940617e6f0abaf1d09b3f054687a0adac788505 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sat, 26 Jul 2008 12:26:27 +0000 Subject: [PATCH] bugfix in some internal asserts of CacheFriendlyProduct --- Eigen/src/Core/CacheFriendlyProduct.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Eigen/src/Core/CacheFriendlyProduct.h b/Eigen/src/Core/CacheFriendlyProduct.h index c3efbacaf..bad018e8e 100644 --- a/Eigen/src/Core/CacheFriendlyProduct.h +++ b/Eigen/src/Core/CacheFriendlyProduct.h @@ -421,7 +421,7 @@ EIGEN_DONT_INLINE static void ei_cache_friendly_product_colmajor_times_vector( // we cannot assume the first element is aligned because of sub-matrices const int lhsAlignmentOffset = ei_alignmentOffset(lhs,size); ei_internal_assert(size_t(lhs+lhsAlignmentOffset)%sizeof(Packet)==0); - + // find how many columns do we have to skip to be aligned with the result (if possible) int skipColumns=0; for (; skipColumns