summaryrefslogtreecommitdiff
path: root/numpy/random/_examples/cython/extending.pyx
diff options
context:
space:
mode:
authorKevin Sheppard <kevin.k.sheppard@gmail.com>2019-11-21 11:10:16 +0000
committerKevin Sheppard <kevin.k.sheppard@gmail.com>2019-11-21 11:10:16 +0000
commit7548073e58e89b414ca999d666c19189291dc1e5 (patch)
treed0d77d3bd569fc5c1374c3c306c6d26342acc100 /numpy/random/_examples/cython/extending.pyx
parentd428127183d46b2fbd99afefa4670642addf8d6e (diff)
downloadnumpy-7548073e58e89b414ca999d666c19189291dc1e5.tar.gz
DOC: Clean up examples of low-level random access
Test examples on Linux and Windows Correct bug in Cython example Improve building instructions for numba examples
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