[Numpy-svn] [numpy/numpy] 974d8e: BUG: numpy.random.binomial raised ValueError for n...

GitHub noreply@github....
Sat Jun 29 09:46:56 CDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 974d8e3a14477098b1418f9443c79dcb5e70e68b
      https://github.com/numpy/numpy/commit/974d8e3a14477098b1418f9443c79dcb5e70e68b
  Author: HaroldMills <harold.mills@gmail.com>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M numpy/random/mtrand/mtrand.c
    M numpy/random/mtrand/mtrand.pyx
    M numpy/random/tests/test_random.py

  Log Message:
  -----------
  BUG: numpy.random.binomial raised ValueError for n == 0

Range test for n was incorrect.

Closes #3480


  Commit: d4e70cf8091d64d137c12b1cb4d8ae726804ebad
      https://github.com/numpy/numpy/commit/d4e70cf8091d64d137c12b1cb4d8ae726804ebad
  Author: Robert Kern <robert.kern@gmail.com>
  Date:   2013-06-29 (Sat, 29 Jun 2013)

  Changed paths:
    M numpy/random/mtrand/mtrand.c
    M numpy/random/mtrand/mtrand.pyx
    M numpy/random/tests/test_random.py

  Log Message:
  -----------
  Merge pull request #3483 from HaroldMills/bugfix-binomial

BUG: numpy.random.binomial raised ValueError for n == 0


Compare: https://github.com/numpy/numpy/compare/1d67e265765c...d4e70cf8091d


More information about the Numpy-svn mailing list