[SciPy-User] leastsq and cython

Till Stensitzki mail.till@gmx...
Sat Sep 25 12:15:09 CDT 2010


  Hello,

i have a problem with scipy.optimize.leastsq and cython.
To make my fitting procedure faster and cythonized parts of it and got a 
factor 2 speedup.
But if i try to use the cython version with leastsq i get:
AttributeError: 'builtin_function_or_method' object has no attribute 
'func_name'

any suggestions?

I am using scipy 0.8 and cython 0.13 on Windows with Python 2.6.





More information about the SciPy-User mailing list