We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 809024f commit 4db0655Copy full SHA for 4db0655
doc/source/enhancingperf.rst
@@ -274,8 +274,8 @@ advanced cython techniques:
274
...: return s * dx
275
...: @cython.boundscheck(False)
276
...: @cython.wraparound(False)
277
- ...: cpdef np.ndarray[double] apply_integrate_f_wrap(np.ndarray[double] col_a, np.ndarray[double] col_b, np.ndarray[Py_ssize_t] col_N):
278
- ...: cdef Py_ssize_t i, n = len(col_N)
+ ...: cpdef np.ndarray[double] apply_integrate_f_wrap(np.ndarray[double] col_a, np.ndarray[double] col_b, np.ndarray[int] col_N):
+ ...: cdef int i, n = len(col_N)
279
...: assert len(col_a) == len(col_b) == n
280
...: cdef np.ndarray[double] res = np.empty(n)
281
...: for i in range(n):
0 commit comments