On Thu, May 27, 2010 at 5:19 PM, <[email protected]> wrote:
> I was tracking a test failure/crash in scipy.signal.ltisys
>
> numpy 1.4.0:
>
> >>> np.poly(np.zeros((0,0)))
> ** On entry to DGEEV parameter number 5 had an illegal value
>
>
> In current:
In [1]: np.poly(np.zeros((0,0)))
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/home/charris/<ipython console> in <module>()
/usr/local/lib/python2.6/dist-packages/numpy/lib/polynomial.pyc in
poly(seq_of_zeros)
126 pass
127 else:
--> 128 raise ValueError, "input must be 1d or square 2d array."
129
130 if len(seq_of_zeros) == 0:
ValueError: input must be 1d or square 2d array.
Looks like it could use a better error message in this case, though. Could
you open a low priority ticket for this?
Chuck
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion