sfs-python icon indicating copy to clipboard operation
sfs-python copied to clipboard

Change RandomState to default_rng

Open mgeier opened this issue 6 years ago • 0 comments

This is used in sfs.array.linear_random().

IIUC, this has been changed in NumPy 1.17, so we should probably wait a while before we are doing this.

See:

  • https://docs.scipy.org/doc/numpy/reference/random/legacy.html
  • https://docs.scipy.org/doc/numpy/reference/random/generator.html

mgeier avatar Dec 17 '19 15:12 mgeier