[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Question about one dimensional root finding.
From: |
Rhys Ulerich |
Subject: |
Re: [Help-gsl] Question about one dimensional root finding. |
Date: |
Wed, 12 Sep 2012 16:47:44 -0500 |
> You'll need to register a custom error handler.
Actually, on a second read through the documentation,
gsl_set_error_handler_off() should do what you want. Surround your
call with something like the following:
gsl_set_error_handler_off();
result = gsl_root_fdfsolver_newton(...);
gsl_set_error_handler(NULL);
and then check result against the standard GSL error codes.
- Rhys