Skip to content

Commit

Permalink
CLN: Remove set/get state for system generator
Browse files Browse the repository at this point in the history
Remove ability to set or get the state of the default generator
  • Loading branch information
bashtage committed Mar 27, 2018
1 parent 0ecffab commit f016dbd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions randomgen/generator.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4315,9 +4315,6 @@ standard_exponential = _random_generator.standard_exponential
standard_gamma = _random_generator.standard_gamma
standard_normal = _random_generator.standard_normal
standard_t = _random_generator.standard_t
get_state = lambda: _random_generator.state
def set_state(state):
_random_generator.state = state
tomaxint = _random_generator.tomaxint
triangular = _random_generator.triangular
uniform = _random_generator.uniform
Expand Down

0 comments on commit f016dbd

Please sign in to comment.