[SciPy-User] problem with the leastsq function

Frédéric Parrenin parrenin.ujf at gmail.com
Tue Aug 13 08:06:43 EDT 2013


Dear all,

I am currently building a code which uses the leastsq function for a
minimization problem.
I apply leastsq to a function named residuals which takes as entry a vector
named variables.

For some configurations of the problem, I get the following error message:


error: Error occurred while calling the Python function named residuals


This is not very meaningful.

Is there a way to debug this leastsq function and to really now where the
problem is?


Best regards,


Frédéric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20130813/0b9a53c6/attachment.html>


More information about the SciPy-User mailing list