Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64983 - trunk/boost/math/special_functions
From: john_at_[hidden]
Date: 2010-08-24 13:13:06


Author: johnmaddock
Date: 2010-08-24 13:13:04 EDT (Tue, 24 Aug 2010)
New Revision: 64983
URL: http://svn.boost.org/trac/boost/changeset/64983

Log:
Prevent macro expansion of isfinite.
Text files modified:
   trunk/boost/math/special_functions/cbrt.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/special_functions/cbrt.hpp
==============================================================================
--- trunk/boost/math/special_functions/cbrt.hpp (original)
+++ trunk/boost/math/special_functions/cbrt.hpp 2010-08-24 13:13:04 EDT (Tue, 24 Aug 2010)
@@ -69,7 +69,7 @@
       static_cast<T>(1.5874010519681994747517056392723), // 2^2/3
    };
 
- if(!boost::math::isfinite(z))
+ if(!(boost::math::isfinite)(z))
    {
       return policies::raise_domain_error("boost::math::cbrt<%1%>(%1%)", "Argument to function must be finite but got %1%.", z, pol);
    }


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