[Numpy-svn] [numpy/numpy] 637ad9: DOC: Clarify behavior in np.random.uniform

GitHub noreply at github.com
Fri Jan 29 04:42:14 EST 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 637ad965ae7555157e859a747f276c20c5f91b9a
      https://github.com/numpy/numpy/commit/637ad965ae7555157e859a747f276c20c5f91b9a
  Author: gfyoung <gfyoung at mit.edu>
  Date:   2016-01-25 (Mon, 25 Jan 2016)

  Changed paths:
    M numpy/random/mtrand/mtrand.pyx

  Log Message:
  -----------
  DOC: Clarify behavior in np.random.uniform

Although the arguments are specified as 'high'
and 'low', it is possible to pass in values for
'low' and 'high' where 'low' >= 'high' and still
obtain well-defined behavior. The documentation
has been expanded to reflect this fact, with a
note to discourage passing in arguments satisfying
'low' > 'high'.


  Commit: 22176f9969b526d696fa905ba74ed6c5e30f43f3
      https://github.com/numpy/numpy/commit/22176f9969b526d696fa905ba74ed6c5e30f43f3
  Author: Robert Kern <robert.kern at gmail.com>
  Date:   2016-01-29 (Fri, 29 Jan 2016)

  Changed paths:
    M numpy/random/mtrand/mtrand.pyx

  Log Message:
  -----------
  Merge pull request #7026 from gfyoung/uniform_bounds_bug

DOC: Clarify behavior in np.random.uniform


Compare: https://github.com/numpy/numpy/compare/e2805398f9a6...22176f9969b5


More information about the Numpy-svn mailing list