diff options
-rw-r--r-- | Cython/Utility/MemoryView.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/MemoryView.pyx b/Cython/Utility/MemoryView.pyx index e06476e27..9cb897761 100644 --- a/Cython/Utility/MemoryView.pyx +++ b/Cython/Utility/MemoryView.pyx @@ -866,7 +866,7 @@ cdef int slice_memviewslice( if not have_step: step = 1 - # len = ceil( (stop - start) // step ) + # len = ceil( (stop - start) / step ) with cython.cdivision(True): new_shape = (stop - start) // step |