Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66892 - trunk/boost/math/distributions
From: pbristow_at_[hidden]
Date: 2010-11-30 09:37:30


Author: pbristow
Date: 2010-11-30 09:37:28 EST (Tue, 30 Nov 2010)
New Revision: 66892
URL: http://svn.boost.org/trac/boost/changeset/66892

Log:
comment
Text files modified:
   trunk/boost/math/distributions/inverse_gaussian.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 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-30 09:37:28 EST (Tue, 30 Nov 2010)
@@ -237,7 +237,7 @@
     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); if available.
     return boost::math::make_tuple(fx, dx);
   }
   private:
@@ -388,7 +388,7 @@
 
    //RealType n5 = +sqrt(scale/x) * ((x /mean) + 1); // note now positive sign.
    RealType n6 = cdf(complement(n01, +sqrt(scale/x) * ((x /mean) + 1)));
- RealType n4 = cdf(n01, n3); // =
+ // RealType n4 = cdf(n01, n3); // =
    result = cdf_1 - expfactor * n6;
    return result;
 } // cdf complement


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