[Numpy-discussion] types as functions convert 1 elm arrays to scalars

Charles R Harris charlesr.harris at gmail.com
Thu May 1 22:00:18 EDT 2008


On Thu, May 1, 2008 at 7:49 PM, Hoyt Koepke <hoytak at gmail.com> wrote:

> To be honest, this doesn't seem justifiable.
>
> Where it got me is interfacing with c-code that expected a 1d array,
> and I was calling it with arrays of varying length.  I was using this
> to ensure the proper typing; however, when the array was length 1, the
> program crashed...
>
> Should I file a bug report?
>
>
I already did, it's ticket #764.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080501/afefe874/attachment.html>


More information about the NumPy-Discussion mailing list