bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] slightly misleading error message


From: Brian Gough
Subject: Re: [Bug-gsl] slightly misleading error message
Date: Wed, 2 Mar 2005 17:32:48 +0000

Federico Zenith writes:
 > Hi, in roots/roots.h, SAFE_FUNC_CALL is defined. If the function
 > returns "something icky", as the comment states, it is refused, and
 > the message "function not continuous" is printed.
 > In my case, I had this message even if my function was continuous,
 > since there was yet another problem (uninitialised variable
 > somewhere in the code, which caused the interval to be from 0 to
 > 0). I think a message like "function not accepted, possibly not
 > continuous" would be better, so that users don't look in the wrong
 > place.

Thanks for the bug report.  I changed the error messages to "function
value is not finite" or "derivative value is not finite" as appropriate.

-- 
Brian Gough




reply via email to

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