[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Error handling problem

From: Brian Gough
Subject: Re: [Help-gsl] Error handling problem
Date: Tue, 04 Jul 2006 10:32:31 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)

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.

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 -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]