[scilab-Users] recursion using fsolve
Michaël Baudin
michael.baudin at scilab.org
Wed Jun 30 08:21:14 CEST 2010
In principle, rewriting the code in C would not change the issue :
assuming that the common blocks are replaced by static variables,
this would lead to the same effect.
(Fortran is not that bad...)
Best regards,
Michael Baudin
Charles Basenga Kiyanda a écrit :
> Hi,
>
> Thanks for the reply. I actually stumbled upon the same bug report
> late yesterday, but you beat me in replying to the list. You are
> correct, it's a known limitation (not to say bug). The bug report does
> describe the fsolve routine as non reentrable. One solution that's
> proposed is to rewrite the code in C, although one would lose
> connection to the original fortran code. Maybe it's time for me to
> finally jump in and start contributing properly to an open source
> project. I could see about fixing this problem.
>
> Funny enough, in the course of trying to solve this problem, I tried
> octave and the same behaviour is exhibited. Now, I'm wondering if
> matlab will exhibit the same behaviour as well, but I don't have a
> working copy on hand to test.
>
> Charles
More information about the users
mailing list