At Mon, 3 Jul 2006 11:51:55 +0200, Vicky Landsman wrote: > Usually all goes fine. Sometimes, it happens that I receive the > following message gsl: qags.c:553: ERROR: bad integrand behavior > found in the integration interval Default GSL error handler invoked. > and the whole job is aborted. Could you help me please to catch > this error but continue the program? I tried to follow your manuals > but failed to apply your recommendations in my case.
Hello, You can turn off the error handler with gsl_set_error_handler_off() and test the return code of the integration function to detect the error. See the Error handling chapter of the manual for an example. -- best regards, Brian Gough Network Theory Ltd, Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/ _______________________________________________ Help-gsl mailing list Help-gsl@gnu.org http://lists.gnu.org/mailman/listinfo/help-gsl