Commit b3379294 authored by Mark Florisson's avatar Mark Florisson

Allow arbitrary strides for strides memoryview slices in verification

parent 95e95f00
......@@ -230,7 +230,7 @@ static int __Pyx_ValidateAndInit_memviewslice(
}
}
if (spec & (__Pyx_MEMVIEW_STRIDED | __Pyx_MEMVIEW_FOLLOW)) {
if (spec & __Pyx_MEMVIEW_FOLLOW) {
Py_ssize_t stride = buf->strides[i];
if (stride < 0)
stride = -stride;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment