[SciPy-user] Vectorize wrapped Fortran routine

steffen.loeck at gmx.de steffen.loeck at gmx.de
Fri Apr 7 10:05:56 EDT 2006


Hi, 

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) 
fails.

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

Thanks,
Steffen






More information about the SciPy-User mailing list