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

Hoyt Koepke hoytak at gmail.com
Thu May 1 22:11:30 EDT 2008


Okay, thanks!  I didn't check.

--Hoyt

On Thu, May 1, 2008 at 7:00 PM, Charles R Harris
<charlesr.harris at gmail.com> wrote:
>
>
>
> 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
>
>
> _______________________________________________
>  Numpy-discussion mailing list
>  Numpy-discussion at scipy.org
>  http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
>



-- 
+++++++++++++++++++++++++++++++++++
Hoyt Koepke
UBC Department of Computer Science
http://www.cs.ubc.ca/~hoytak/
hoytak at gmail.com
+++++++++++++++++++++++++++++++++++



More information about the NumPy-Discussion mailing list