diff options
| author | Matti Picus <matti.picus@gmail.com> | 2023-05-07 12:21:54 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-07 12:21:54 +0300 |
| commit | c7724ee776f3aa447d89170809aace0461ccacf0 (patch) | |
| tree | 3cc7cd039b825e978b350d370721fba0a260e0f5 /numpy/random/_common.pyx | |
| parent | ac78f9e45313e963d6bd40a2a7d139993904d03f (diff) | |
| parent | 2df3b4c26bda892701741a331ad62ba6333446f0 (diff) | |
| download | numpy-c7724ee776f3aa447d89170809aace0461ccacf0.tar.gz | |
Merge pull request #23709 from scoder/cython3_noexcept
MAINT: Add "noexcept" markers to Cython functions that do not raise exceptions
Diffstat (limited to 'numpy/random/_common.pyx')
| -rw-r--r-- | numpy/random/_common.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_common.pyx b/numpy/random/_common.pyx index 7b6f69303..c5e4e3297 100644 --- a/numpy/random/_common.pyx +++ b/numpy/random/_common.pyx @@ -171,7 +171,7 @@ cdef object prepare_ctypes(bitgen_t *bitgen): ctypes.c_void_p(<uintptr_t>bitgen)) return _ctypes -cdef double kahan_sum(double *darr, np.npy_intp n): +cdef double kahan_sum(double *darr, np.npy_intp n) noexcept: """ Parameters ---------- |
