ralna / RALFit

A non-linear least squares solver
Other
25 stars 6 forks source link

Handle correctly recovery in TR loop #37

Closed talassio closed 5 years ago

talassio commented 5 years ago

In TR loop, return status /= 0 from eval_r and eval_j (eval_Hf?) should trigger recovery and not exit with NLLS_ERROR_EVALUATION

tl;dr status and NaN in return arrays should always trigger recovery whenever possible.

tyronerees commented 5 years ago

Also, there is no recovery (or any error handling) at all for the eval_HP call.