Skip to content

Commit

Permalink
Fixed default BitGenerator name
Browse files Browse the repository at this point in the history
  • Loading branch information
giuse authored Aug 6, 2019
1 parent 5f7f8e1 commit fd3b424
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions numpy/random/_pickle.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}


def __generator_ctor(bit_generator_name='mt19937'):
def __generator_ctor(bit_generator_name='MT19937'):
"""
Pickling helper function that returns a Generator object
Expand All @@ -36,7 +36,7 @@ def __generator_ctor(bit_generator_name='mt19937'):
return Generator(bit_generator())


def __bit_generator_ctor(bit_generator_name='mt19937'):
def __bit_generator_ctor(bit_generator_name='MT19937'):
"""
Pickling helper function that returns a bit generator object
Expand All @@ -59,7 +59,7 @@ def __bit_generator_ctor(bit_generator_name='mt19937'):
return bit_generator()


def __randomstate_ctor(bit_generator_name='mt19937'):
def __randomstate_ctor(bit_generator_name='MT19937'):
"""
Pickling helper function that returns a legacy RandomState-like object
Expand Down

0 comments on commit fd3b424

Please sign in to comment.