summaryrefslogtreecommitdiff
path: root/numpy/random/examples/numba/extending_distributions.py
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-06-16 14:00:00 +0300
committermattip <matti.picus@gmail.com>2019-06-26 00:08:23 +0300
commit02f63e0f36d2f6c81b6720229b05518a573aa5cf (patch)
tree9e3c5f5a26fc1ae956975677f30a6b94f3aade5c /numpy/random/examples/numba/extending_distributions.py
parent37a1ad069a800f5ef98286f25fb3fb632375168d (diff)
downloadnumpy-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.py4
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