Skip to content

Commit

Permalink
Merge pull request numpy#22779 from LeonaTaric/numpy_issue22745
Browse files Browse the repository at this point in the history
DOC: All integer values must be non-negative
  • Loading branch information
charris authored Jan 9, 2023
2 parents 9307c13 + 969c748 commit 2372807
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions numpy/random/bit_generator.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
----------
Expand Down

0 comments on commit 2372807

Please sign in to comment.