[Numpy-svn] [numpy/numpy] bae9ae: Allow many distributions to have a scale of 0.
GitHub
noreply at github.com
Wed Jun 22 22:09:26 EDT 2016
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: bae9aebaa5aeedc3e1ecf69bef65f5fe721a3d37
https://github.com/numpy/numpy/commit/bae9aebaa5aeedc3e1ecf69bef65f5fe721a3d37
Author: Antony Lee <anntzer.lee at gmail.com>
Date: 2016-04-06 (Wed, 06 Apr 2016)
Changed paths:
M numpy/random/mtrand/mtrand.pyx
M numpy/random/tests/test_random.py
Log Message:
-----------
Allow many distributions to have a scale of 0.
(in which case a stream of 0's is usually returned (or 1's)).
See #5818.
Commit: 0319d0ce3436d39a739b2537e60c1eaced80a6ca
https://github.com/numpy/numpy/commit/0319d0ce3436d39a739b2537e60c1eaced80a6ca
Author: Antony Lee <anntzer.lee at gmail.com>
Date: 2016-06-09 (Thu, 09 Jun 2016)
Changed paths:
M numpy/random/mtrand/mtrand.pyx
M numpy/random/tests/test_random.py
Log Message:
-----------
Don't allow -0. as distribution shape parameter.
At least the gamma generator doesn't support it.
Commit: c62b20d10c05c07511553972d1c21e5845aa7d6f
https://github.com/numpy/numpy/commit/c62b20d10c05c07511553972d1c21e5845aa7d6f
Author: Nathaniel J. Smith <njs at pobox.com>
Date: 2016-06-22 (Wed, 22 Jun 2016)
Changed paths:
M numpy/random/mtrand/mtrand.pyx
M numpy/random/tests/test_random.py
Log Message:
-----------
Merge pull request #5822 from anntzer/0-scale-distributions
Allow many distributions to have a scale of 0.
Compare: https://github.com/numpy/numpy/compare/de0fcbd6d1d0...c62b20d10c05
More information about the Numpy-svn
mailing list