$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r83283 - trunk/boost/math/tools
From: john_at_[hidden]
Date: 2013-03-03 11:32:30
Author: johnmaddock
Date: 2013-03-03 11:32:30 EST (Sun, 03 Mar 2013)
New Revision: 83283
URL: http://svn.boost.org/trac/boost/changeset/83283
Log:
Fixes #8116.
Text files modified: 
   trunk/boost/math/tools/toms748_solve.hpp |     2 +-                                      
   1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/math/tools/toms748_solve.hpp
==============================================================================
--- trunk/boost/math/tools/toms748_solve.hpp	(original)
+++ trunk/boost/math/tools/toms748_solve.hpp	2013-03-03 11:32:30 EST (Sun, 03 Mar 2013)
@@ -197,7 +197,7 @@
    T A = safe_div(T(fd - fb), T(d - b), tools::max_value<T>());
    A = safe_div(T(A - B), T(d - a), T(0));
 
-   if(a == 0)
+   if(A == 0)
    {
       // failure to determine coefficients, try a secant step:
       return secant_interpolate(a, b, fa, fb);