> Hello,
>
> I'm using gsl 1-D root finding algorithm, and I need to use
> gsl_root_fsolver_set( ... ) to initilize the solver.  The problem is
> whenever the root is NOT located inside the bounds, this function call
> will immediately breaks the program.  And I cannot catch its error
> even if I put this function in a try block:
>
>    try
>    {
>        gsl_root_fsolver_set (s, &f, x_lo, x_hi);
>    }
>    catch(...)
>    {
>        throw .......;   // Root is not bracked
>    }
>
> Is there anyway to catch the error generated by gsl_root_fsolver_set()
> ?  Thanks a lot.
>
> Jian
>


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

Reply via email to