[Numpy-discussion] Bug report.

2010-08-12 Thread Charles R Harris
Here . Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] bug report ?

2008-03-05 Thread Revaz Yves
> PyArray_FromDims is backward compatible Numeric API which did not > support 64-bit correctly. > > PyArray_SimpleNew is the equivalent that accepts 64-bit dimensions > information and is what you should be using. > ok, excellent ! thanks for the answer. yves > -Travis O. > > __

Re: [Numpy-discussion] bug report ?

2008-03-05 Thread Travis E. Oliphant
Revaz Yves wrote: > Matthieu Brucher wrote: > >> Hi, >> >> What type is pos->dimensions in your case ? It may be long (64bits >> long) instead of the expected int (32bits) or something like that ? >> >> > yes, > pos->dimensions is a 64bits long > while PyArray_FromDims expects 32bits int.

Re: [Numpy-discussion] bug report ?

2008-03-05 Thread Revaz Yves
Matthieu Brucher wrote: > Hi, > > What type is pos->dimensions in your case ? It may be long (64bits > long) instead of the expected int (32bits) or something like that ? > yes, pos->dimensions is a 64bits long while PyArray_FromDims expects 32bits int. Why is it so ? > Matthieu > > 2008/2/8,

Re: [Numpy-discussion] bug report ?

2008-02-08 Thread Matthieu Brucher
Hi, What type is pos->dimensions in your case ? It may be long (64bits long) instead of the expected int (32bits) or something like that ? Matthieu 2008/2/8, Yves Revaz <[EMAIL PROTECTED]>: > > > Dear list, > > I'm using old numarray C api with numpy. > It seems that there is a bug when using th

[Numpy-discussion] bug report ?

2008-02-08 Thread Yves Revaz
Dear list, I'm using old numarray C api with numpy. It seems that there is a bug when using the PyArray_FromDims function. for example, if I define : acc = (PyArrayObject *) PyArray_FromDims(pos->nd,pos->dimensions,pos->descr->type_num); where pos is PyArrayObject *pos; (3x3 array) when using