Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-08-30 06:20:35


Author: johnmaddock
Date: 2007-08-30 06:20:34 EDT (Thu, 30 Aug 2007)
New Revision: 39068
URL: http://svn.boost.org/trac/boost/changeset/39068

Log:
Instrument erf better.
Text files modified:
   sandbox/math_toolkit/boost/math/special_functions/erf.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: sandbox/math_toolkit/boost/math/special_functions/erf.hpp
==============================================================================
--- sandbox/math_toolkit/boost/math/special_functions/erf.hpp (original)
+++ sandbox/math_toolkit/boost/math/special_functions/erf.hpp 2007-08-30 06:20:34 EDT (Thu, 30 Aug 2007)
@@ -488,6 +488,9 @@
       }
       T g = exp(-z * z) / z;
       result = g * b + g * r;
+ BOOST_MATH_INSTRUMENT_CODE("r = " << r);
+ BOOST_MATH_INSTRUMENT_CODE("b = " << b);
+ BOOST_MATH_INSTRUMENT_CODE("g = " << g);
    }
    else
    {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk