Subject: [Boost-bugs] [Boost C++ Libraries] #11532: toms748_solve produces -nan when evaluating a smooth function in a fixed interval
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-10 10:19:08
#11532: toms748_solve produces -nan when evaluating a smooth function in a fixed
interval
----------------------------------+-------------------------
Reporter: Ola Skavhaug <ola@â¦> | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
Version: Boost 1.57.0 | Severity: Problem
Keywords: |
----------------------------------+-------------------------
In my algorithm that is finding the point where two gamma gamma
distributions crosses, the toms748 solver produces a -nan value for the
evaluation point. The behaviour occurs quite rarely, and only for
extremely specific values of the governing parameters. I have not checked
if the problem is cross platform.
I see that the solver evaluates the same point twice, and suspect that the
subsequent calculation of the change of the evaluation point somehow
divides by 0.
A minimal example is enclosed.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11532> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC