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

Charles R Harris charlesr.harris@gmail....
Thu May 1 21:00:18 CDT 2008


On Thu, May 1, 2008 at 7:49 PM, Hoyt Koepke <hoytak@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://projects.scipy.org/pipermail/numpy-discussion/attachments/20080501/afefe874/attachment-0001.html 


More information about the Numpy-discussion mailing list