diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2023-01-09 13:42:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-09 13:42:45 -0500 |
commit | 237280769b44d643705db9752891f08789b97ee6 (patch) | |
tree | d951660147873ec5050c393efef01a181fff8b4b /numpy/random | |
parent | 9307c1310c9d911b637015e2e119b7831952343e (diff) | |
parent | 969c748cf6539e5b31b52ad13c7a814976735719 (diff) | |
download | numpy-237280769b44d643705db9752891f08789b97ee6.tar.gz |
Merge pull request #22779 from LeonaTaric/numpy_issue22745
DOC: All integer values must be non-negative
Diffstat (limited to 'numpy/random')
-rw-r--r-- | numpy/random/bit_generator.pyx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/random/bit_generator.pyx b/numpy/random/bit_generator.pyx index 3da4fabce..47804c487 100644 --- a/numpy/random/bit_generator.pyx +++ b/numpy/random/bit_generator.pyx @@ -260,6 +260,7 @@ cdef class SeedSequence(): ---------- entropy : {None, int, sequence[int]}, optional The entropy for creating a `SeedSequence`. + All integer values must be non-negative. spawn_key : {(), sequence[int]}, optional An additional source of entropy based on the position of this `SeedSequence` in the tree of such objects created with the @@ -490,6 +491,7 @@ cdef class BitGenerator(): ``array_like[ints]`` is passed, then it will be passed to `~numpy.random.SeedSequence` to derive the initial `BitGenerator` state. One may also pass in a `SeedSequence` instance. + All integer values must be non-negative. Attributes ---------- |