At Tue, 20 Jan 2009 15:16:26 -0500,
Mark M. Ito wrote:
> Shouldn't the "if (status) break;" be an "if (status) continue;"? It is 
> normal for the solver to return GSL_CONTINUE in which case you want to 
> continue to iterate. Break exits the do loop completely, no?

Hello,

Thanks for your email.  The iterate function should return GSL_SUCCESS
or an error (if it can't make progress) so I believe the example is ok
(the test functions return GSL_CONTINUE).

If you're seeing GSL_CONTINUE return values from
gsl_multifit_fdfsolver_iterate I'd be interested to see the test
function, thanks.

-- 
Brian Gough
(GSL Maintainer)


_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl

Reply via email to