Boost logo

Boost-Commit :

From: johnmaddock_at_[hidden]
Date: 2007-07-02 05:46:53


Author: johnmaddock
Date: 2007-07-02 05:46:52 EDT (Mon, 02 Jul 2007)
New Revision: 7335
URL: http://svn.boost.org/trac/boost/changeset/7335

Log:
Added VC7.1 fix so that the header interacts OK with Boost.Rational.

Text files modified:
   sandbox/math_toolkit/boost/math/special_functions/log1p.hpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: sandbox/math_toolkit/boost/math/special_functions/log1p.hpp
==============================================================================
--- sandbox/math_toolkit/boost/math/special_functions/log1p.hpp (original)
+++ sandbox/math_toolkit/boost/math/special_functions/log1p.hpp 2007-07-02 05:46:52 EDT (Mon, 02 Jul 2007)
@@ -72,6 +72,7 @@
   // A domain error occurs if x < -1. TODO should there be a check?
    typedef typename tools::promote_args<T>::type result_type;
    using namespace std;
+ using std::abs;
 
    if(x < -1)
       return tools::domain_error<T>(


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