diff options
author | mattip <matti.picus@gmail.com> | 2019-06-16 14:00:00 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-06-26 00:08:23 +0300 |
commit | 02f63e0f36d2f6c81b6720229b05518a573aa5cf (patch) | |
tree | 9e3c5f5a26fc1ae956975677f30a6b94f3aade5c /numpy/random/examples/numba/extending_distributions.py | |
parent | 37a1ad069a800f5ef98286f25fb3fb632375168d (diff) | |
download | numpy-02f63e0f36d2f6c81b6720229b05518a573aa5cf.tar.gz |
MAINT: remove xoshiro* BitGenerators
Diffstat (limited to 'numpy/random/examples/numba/extending_distributions.py')
-rw-r--r-- | numpy/random/examples/numba/extending_distributions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/examples/numba/extending_distributions.py b/numpy/random/examples/numba/extending_distributions.py index 1172e51de..9233ccced 100644 --- a/numpy/random/examples/numba/extending_distributions.py +++ b/numpy/random/examples/numba/extending_distributions.py @@ -24,7 +24,7 @@ import numba as nb import numpy as np from cffi import FFI -from numpy.random import Xoshiro256 +from numpy.random import PCG64 ffi = FFI() if os.path.exists('./distributions.dll'): @@ -37,7 +37,7 @@ else: ffi.cdef(""" double random_gauss_zig(void *bitgen_state); """) -x = Xoshiro256() +x = PCG64() xffi = x.cffi bit_generator = xffi.bit_generator |