mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
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.
This commit is contained in:
parent
d72d538747
commit
f5b1b6b351
@ -162,7 +162,7 @@ template<typename XprType> struct ei_blas_traits
|
|||||||
&& ( /* Uncomment this when the low-level matrix-vector product functions support strided vectors
|
&& ( /* Uncomment this when the low-level matrix-vector product functions support strided vectors
|
||||||
bool(XprType::IsVectorAtCompileTime)
|
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
|
) ? 1 : 0
|
||||||
};
|
};
|
||||||
typedef typename ei_meta_if<bool(HasUsableDirectAccess),
|
typedef typename ei_meta_if<bool(HasUsableDirectAccess),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user