Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77361 - sandbox/math/libs/math/test
From: john_at_[hidden]
Date: 2012-03-17 15:39:12


Author: johnmaddock
Date: 2012-03-17 15:39:11 EDT (Sat, 17 Mar 2012)
New Revision: 77361
URL: http://svn.boost.org/trac/boost/changeset/77361

Log:
Fix pow call to use ADL.
Text files modified:
   sandbox/math/libs/math/test/owens_t_T7.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: sandbox/math/libs/math/test/owens_t_T7.hpp
==============================================================================
--- sandbox/math/libs/math/test/owens_t_T7.hpp (original)
+++ sandbox/math/libs/math/test/owens_t_T7.hpp 2012-03-17 15:39:11 EDT (Sat, 17 Mar 2012)
@@ -110,7 +110,7 @@
           {
             last_val = val;
             k++;
- const RealType u = std::pow(as,k);
+ const RealType u = pow(as,k);
             if(k < c2.size())
               {
                 v = (hs*v + c2[k])/(static_cast<RealType>(2*k+1));
@@ -219,3 +219,4 @@
 
 
 
+


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