[SciPy-user] Vectorize wrapped Fortran routine

steffen.loeck@gmx.de steffen.loeck at gmx.de
Fri Apr 7 09:05:56 CDT 2006


I would like to vectorize a Fortran routine wrapped with f2py using 
scipy.vectorize. With the old scipy this works fine but with the new one i 
get the following error:

TypeError: object is not a callable Python object

Wrapping was done with:

f2py -m hermite -h hermite.pyf hermite.f
f2py2.3  -c hermite.pyf  hermite.f

The routine works without using vectorize but scipy.vectorize(hermite.routine) 

Is there any way to get this working under new scipy?


More information about the SciPy-user mailing list