mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-06 19:10:36 +08:00
fix issue #128 : inner stride can also be 0 in which case it means 1...
This commit is contained in:
parent
ab2b33e802
commit
314bfa1375
@ -162,7 +162,7 @@ template<typename XprType> 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<XprType>::ret) == 1)
|
||||
int(ei_inner_stride_at_compile_time<XprType>::ret) <= 1)
|
||||
) ? 1 : 0
|
||||
};
|
||||
typedef typename ei_meta_if<bool(HasUsableDirectAccess),
|
||||
|
Loading…
x
Reference in New Issue
Block a user