diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2021-03-15 16:08:34 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 16:08:34 -0600 |
commit | 497804069a78360b54ae8fccdd0f8a79520e99ba (patch) | |
tree | a7efbd4f4e611e851c62a1a7b2fe6475451a879e | |
parent | 0f5d8ccdea3088db4f4e88d8832474bdb69766ff (diff) | |
download | numpy-497804069a78360b54ae8fccdd0f8a79520e99ba.tar.gz |
MAINT: Fix missed replacement of rg by rng.
-rw-r--r-- | doc/source/reference/random/new-or-different.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/random/new-or-different.rst b/doc/source/reference/random/new-or-different.rst index 8904209d6..a81543926 100644 --- a/doc/source/reference/random/new-or-different.rst +++ b/doc/source/reference/random/new-or-different.rst @@ -112,7 +112,7 @@ And in more detail: .. ipython:: python existing = np.zeros(4) - rg.random(out=existing[:2]) + rng.random(out=existing[:2]) print(existing) * Optional ``axis`` argument for methods like `~.Generator.choice`, |