On Tue, Aug 5, 2008 at 1:14 PM, Charles Doutriaux <[EMAIL PROTECTED]>wrote:

> Hi chuck, works great on 32bit
>
>  int *dims;
>    dims = (int *)malloc(self->nd*sizeof(int));
>
> and self->nd is 3
>

Should be

npy_intp *dims;

npy_intp will be 32 bits/ 64 bits depending on the architecture, ints tend
to always be 32 bits.

Chuck
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to