summaryrefslogtreecommitdiff
path: root/numpy/random/_examples/cython/extending.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/random/_examples/cython/extending.pyx')
-rw-r--r--numpy/random/_examples/cython/extending.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_examples/cython/extending.pyx b/numpy/random/_examples/cython/extending.pyx
index 2a866648d..d12c0b919 100644
--- a/numpy/random/_examples/cython/extending.pyx
+++ b/numpy/random/_examples/cython/extending.pyx
@@ -39,7 +39,7 @@ def uniform_mean(Py_ssize_t n):
return randoms.mean()
-# This function is declated nogil so it can be used without the GIL below
+# This function is declared nogil so it can be used without the GIL below
cdef uint32_t bounded_uint(uint32_t lb, uint32_t ub, bitgen_t *rng) nogil:
cdef uint32_t mask, delta, val
mask = delta = ub - lb