[Numpy-tickets] [NumPy] #965: random_integers error message should be more explicit when in its arguments overflow
NumPy
numpy-tickets@scipy....
Fri Dec 5 00:30:35 CST 2008
#965: random_integers error message should be more explicit when in its arguments
overflow
--------------------+-------------------------------------------------------
Reporter: cdavid | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.3.0
Component: Other | Version: none
Severity: minor | Keywords:
--------------------+-------------------------------------------------------
{{{
#!python
import numpy as np
np.random.random_integers(-2 ** 30, 2 ** 30, 10)
}}}
Raises:
ValueError: low >= high
It may not be obvious what that means for the user.
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/965>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list