Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66793 - trunk/boost/math/distributions
From: pbristow_at_[hidden]
Date: 2010-11-27 11:00:50


Author: pbristow
Date: 2010-11-27 11:00:46 EST (Sat, 27 Nov 2010)
New Revision: 66793
URL: http://svn.boost.org/trac/boost/changeset/66793

Log:
Changed make_tuple from std::tr1:: to boost::math
Text files modified:
   trunk/boost/math/distributions/inverse_gaussian.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/distributions/inverse_gaussian.hpp
==============================================================================
--- trunk/boost/math/distributions/inverse_gaussian.hpp (original)
+++ trunk/boost/math/distributions/inverse_gaussian.hpp 2010-11-27 11:00:46 EST (Sat, 27 Nov 2010)
@@ -237,7 +237,9 @@
     RealType fx = c - prob; // Difference cdf - value - to minimize.
     RealType dx = -pdf(distribution, x); // pdf is 1st derivative.
     // return both function evaluation difference f(x) and 1st derivative f'(x).
- return std::tr1::make_tuple(fx, dx);
+
+ //return std::tr1::make_tuple(fx, dx);
+ return boost::math::make_tuple(fx, dx);
   }
   private:
   const boost::math::inverse_gaussian_distribution<RealType> distribution;


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