[SciPy-dev] PyArray_FromDims and friends

Charles R Harris charlesr.harris at gmail.com
Fri Aug 15 11:55:26 EDT 2008


On Thu, Aug 14, 2008 at 4:12 PM, Zachary Pincus <zachary.pincus at yale.edu>wrote:

> > With the SciPy 0.7.0 release quickly approaching, I would really like
> > to get the rid of all the deprecated NumPy calls in SciPy.  While I
> > don't think they should hold up the beta releases, I would like them
> > all removed before the first release candidate.  All patches welcome.
> >
> > There is no plan to systematically fix these, so please don't hesitate
> > to fix any area of the code that you feel comfortable working on.
>
> OK, then the patch in:
> http://scipy.org/scipy/scipy/ticket/723
> should do it for scipy.interpolate. It includes the proper casting-to-
> (*npy_intp) for 64-bit platforms.
>

No, no, you can't just cast the pointer to a different type, it needs to
point to npy_intp instead of int to start with, i.e., n has to be an array
of npy_intp.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20080815/38b27e1f/attachment.html>


More information about the SciPy-Dev mailing list