[Boost-bugs] [Boost C++ Libraries] #8116: quadratic_interpolate does not work when bracket starts at zero

Subject: [Boost-bugs] [Boost C++ Libraries] #8116: quadratic_interpolate does not work when bracket starts at zero
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-19 21:17:35


#8116: quadratic_interpolate does not work when bracket starts at zero
----------------------------------+-----------------------------------------
 Reporter: murphy@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 On line 200 of boost/math/tools/toms748_solve.hpp, the code should be
 checking whether the coefficient 'A' of the quadratic polynomial is zero
 before giving up and calling secant_interpolate, not the variable 'a',
 which is the lower bound of the bracket.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8116>
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:12 UTC