From f5b1b6b3512b3134d39bfd40b47d56c680c10424 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 11 Jun 2010 08:38:30 -0400 Subject: [PATCH] undo 314bfa13753f153d44ff76a1c8ce0206616b06d9 , the right fix was made as part of the Dynamic -> -1 change, the bug was that in Map, the InnerStrideAtCompileTime could be 0, which doesn't make sense. The 0 value in Stride should not have been forwarded as-is. --- Eigen/src/Core/util/BlasUtil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/BlasUtil.h b/Eigen/src/Core/util/BlasUtil.h index 24d27bce2..a5fa1532d 100644 --- a/Eigen/src/Core/util/BlasUtil.h +++ b/Eigen/src/Core/util/BlasUtil.h @@ -162,7 +162,7 @@ template struct ei_blas_traits && ( /* Uncomment this when the low-level matrix-vector product functions support strided vectors bool(XprType::IsVectorAtCompileTime) || */ - int(ei_inner_stride_at_compile_time::ret) <= 1) + int(ei_inner_stride_at_compile_time::ret) == 1) ) ? 1 : 0 }; typedef typename ei_meta_if