summaryrefslogtreecommitdiff
path: root/doc/source/reference/random/multithreading.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/reference/random/multithreading.rst')
-rw-r--r--doc/source/reference/random/multithreading.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/random/multithreading.rst b/doc/source/reference/random/multithreading.rst
index 6883d3672..a0a31d0ea 100644
--- a/doc/source/reference/random/multithreading.rst
+++ b/doc/source/reference/random/multithreading.rst
@@ -41,7 +41,7 @@ seed will produce the same outputs.
self.n = n
self.executor = concurrent.futures.ThreadPoolExecutor(threads)
self.values = np.empty(n)
- self.step = np.ceil(n / threads).astype(np.int)
+ self.step = np.ceil(n / threads).astype(np.int_)
def fill(self):
def _fill(random_state, out, first, last):