diff options
author | Matti Picus <matti.picus@gmail.com> | 2019-11-21 13:18:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-21 13:18:52 -0800 |
commit | 48e0ded975e0180323677b1c50dee3c891a0989e (patch) | |
tree | 59d35ce5bc92c74ad68af768c36bb6caa29b6fda /numpy/random/_examples/cython/extending.pyx | |
parent | 8efd1e70a7789befc7a85a0b52254c68f7ae408a (diff) | |
parent | 7548073e58e89b414ca999d666c19189291dc1e5 (diff) | |
download | numpy-48e0ded975e0180323677b1c50dee3c891a0989e.tar.gz |
Merge pull request #14951 from bashtage/random-examples
DOC: Clean up examples of low-level random access
Diffstat (limited to 'numpy/random/_examples/cython/extending.pyx')
-rw-r--r-- | numpy/random/_examples/cython/extending.pyx | 2 |
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 |