[Pyrex] getting data pointer to numpy object

Filip Wasilewski filip at ftv.pl
Thu Mar 30 01:55:03 CEST 2006


Hello Brian,

> Filip Wasilewski wrote:
>> The code works just fine for me. What's more it works even better if a
>> 2D double numpy array is passed to the fun1 function.

> can you tell me what version of python you are using, and what version of pyrex and
> numpy you are using?  perhaps I need to upgrade?


I'm using Python 2.4.2, Pyrex 9.3.1 with Lenard Lindstrom's patches from
Pyrex website and numpy 0.9.6.

I think you can try the unpached Pyrex 9.3.1 first and see if it helps.
The numpy version shouldn't have influence, unless it's very old.


-- 
Best,
Filip Wasilewski




More information about the Pyrex mailing list