Skip to content

Commit

Permalink
BUG: Add choice and dirichlet to numpy.random.__all__.
Browse files Browse the repository at this point in the history
Closes #6602.
  • Loading branch information
charris committed Nov 2, 2015
1 parent 80abf6e commit 6a09c85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/release/1.10.2-notes.rst
Expand Up @@ -31,6 +31,7 @@ Issues Fixed
* gh-6563 Intent(out) broken in recent versions of f2py.
* gh-6575 BUG: Split produces empty arrays with wrong number of dimensions
* gh-6590 Fortran Array problem in numpy 1.10.
* gh-6602 Random __all__ missing choice and dirichlet.

Merged PRs
==========
Expand Down Expand Up @@ -65,6 +66,7 @@ The following PRs in master have been backported to 1.10.2
* gh-6579 MAINT: Fix mistake in doc upload rule.
* gh-6596 BUG: Fix swig for relaxed stride checking.
* gh-6606 DOC: Update 1.10.2 release notes.
* gh-6614 BUG: Add choice and dirichlet to numpy.random.__all__.

Initial support for mingwpy was reverted as it was causing problems for
non-windows builds.
Expand Down
4 changes: 4 additions & 0 deletions numpy/random/info.py
Expand Up @@ -13,6 +13,8 @@
permutation Randomly permute a sequence / generate a random sequence.
shuffle Randomly permute a sequence in place.
seed Seed the random number generator.
choice Random sample from 1-D array.
==================== =========================================================
==================== =========================================================
Expand Down Expand Up @@ -91,6 +93,8 @@
'binomial',
'bytes',
'chisquare',
'choice',
'dirichlet',
'exponential',
'f',
'gamma',
Expand Down

0 comments on commit 6a09c85

Please sign in to comment.