Hi Drew, Thanks for taking the time to report a bug.
On 5 May 2005 at 16:22, Drew Parsons wrote: | Package: libgsl0 | Version: 1.6-2 | Severity: normal | | The documentation for gsl_min_fminimizer_set (one-dimensional minimisation) | says that it will return GSL_FAILURE if "the interval given does not | contain a minimum". | | One of my data sets appears to be triggering this error. | | However, gsl_min_fminimizer_set returns 4 (GSL_EINVAL) instead of -1 | (GSL_FAILURE). So if I check for status==GSL_FAILURE, I do not detect the | error. | | The reason I know about the error is that the default gsl error handler | catches it, reporting: | gsl: fsolver.c:126: ERROR: endpoints do not enclose a minimum | Default GSL error handler invoked. | Aborted | | I suppose the bug is just a documentation one. The docs needs to say that | gsl_min_fminimizer_set returns GSL_EINVAL, not GSL_FAILURE, when the | interval is bad (though I wonder why they do not use GSL_EDOM - bad input | domain - instead). Ok, I think I will let Brian (CC'ed) comment on this, Cheers, Dirk | | | -- System Information: | Debian Release: 3.1 | APT prefers unstable | APT policy: (990, 'unstable') | Architecture: i386 (i686) | Kernel: Linux 2.6.11 | Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) | | Versions of packages libgsl0 depends on: | ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an | | -- no debconf information -- An economist is an expert who will know tomorrow why the things he predicted yesterday didn't happen today. -- Laurence J. Peter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]