summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authorAndrey Andreyevich Bienkowski <hexagon-recursion@posteo.net>2022-04-17 08:21:50 +0000
committerGitHub <noreply@github.com>2022-04-17 08:21:50 +0000
commit928bfb0ecaa4bea9148c3bb598949ba83aedeab1 (patch)
tree9efc975c9512a5cedebb754a60cae0d06e4eb45b /numpy/random
parentbb811f454ace65dd5ca05316b3b791ce2e213e2a (diff)
downloadnumpy-928bfb0ecaa4bea9148c3bb598949ba83aedeab1.tar.gz
Doc: Philox.jumped correct the formula
The documentation and the actual code were using different formulas
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/_philox.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_philox.pyx b/numpy/random/_philox.pyx
index 0fe8ebd7c..cf47fb55f 100644
--- a/numpy/random/_philox.pyx
+++ b/numpy/random/_philox.pyx
@@ -267,7 +267,7 @@ cdef class Philox(BitGenerator):
Returns a new bit generator with the state jumped
The state of the returned big generator is jumped as-if
- 2**(128 * jumps) random numbers have been generated.
+ (2**128) * jumps random numbers have been generated.
Parameters
----------