Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48607 - trunk/boost/math/special_functions
From: john_at_[hidden]
Date: 2008-09-05 06:39:14


Author: johnmaddock
Date: 2008-09-05 06:39:14 EDT (Fri, 05 Sep 2008)
New Revision: 48607
URL: http://svn.boost.org/trac/boost/changeset/48607

Log:
Fix definition to match fwd declaration.
Text files modified:
   trunk/boost/math/special_functions/log1p.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/special_functions/log1p.hpp
==============================================================================
--- trunk/boost/math/special_functions/log1p.hpp (original)
+++ trunk/boost/math/special_functions/log1p.hpp 2008-09-05 06:39:14 EDT (Fri, 05 Sep 2008)
@@ -452,7 +452,7 @@
 }
 
 template <class T>
-inline T log1pmx(T x)
+inline typename tools::promote_args<T>::type log1pmx(T x)
 {
    return log1pmx(x, policies::policy<>());
 }


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