[SciPy-dev] f2py numpy array error

Travis Oliphant oliphant.travis at ieee.org
Sun Jan 8 22:02:27 CST 2006

Tom Loredo wrote:

>>I have some f2py code that takes arrays as arguments. Unfortunately,  
>>the didnt seem to survive the move to numpy:
>I'm not sure if this is the same problem, or even whether it is
>a "real" problem or a result of my own misunderstanding, but
>through all the recent revisions of scipy_core I have found
>that I cannot send a Float *scalar array* to an f2py-wrapped
>function that requires a real*8 scalar argument.  I have
>to manually convert it via "float(value)".  It seems to me
>the wrapper should automatically handle this, but perhaps
>I'm missing something.
This should work.  Please post the error you are seeing and give details 
about the function to be wrapped...


More information about the Scipy-dev mailing list