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

Hoyt Koepke hoytak@gmail....
Thu May 1 21:11:30 CDT 2008


Okay, thanks!  I didn't check.

--Hoyt

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



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


More information about the Numpy-discussion mailing list