Wow! It did it!

Is there other little tricks like this one I should track?

Thanks a lot! It would have take me days to track this one!

C.


Charles R Harris wrote:
>
>
> On Tue, Aug 5, 2008 at 1:14 PM, Charles Doutriaux <[EMAIL PROTECTED] 
> <mailto:[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
>   

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

Reply via email to