Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79949 - in trunk/boost/math: distributions special_functions
From: pbristow_at_[hidden]
Date: 2012-08-09 13:58:48


Author: pbristow
Date: 2012-08-09 13:58:46 EDT (Thu, 09 Aug 2012)
New Revision: 79949
URL: http://svn.boost.org/trac/boost/changeset/79949

Log:
Changes to deal with copyright and tabs from inspection report
Text files modified:
   trunk/boost/math/distributions/skew_normal.hpp | 14 +++++++-------
   trunk/boost/math/special_functions/owens_t.hpp | 2 +-
   2 files changed, 8 insertions(+), 8 deletions(-)

Modified: trunk/boost/math/distributions/skew_normal.hpp
==============================================================================
--- trunk/boost/math/distributions/skew_normal.hpp (original)
+++ trunk/boost/math/distributions/skew_normal.hpp 2012-08-09 13:58:46 EDT (Thu, 09 Aug 2012)
@@ -1,4 +1,4 @@
-// (C) Benjamin Sobotta 2012
+// Copyright Benjamin Sobotta 2012
 
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
@@ -645,23 +645,23 @@
     if(false == detail::check_probability(function, p, &result, Policy()))
       return result;
 
- // compute initial guess via Cornish-Fisher expansion
+ // Compute initial guess via Cornish-Fisher expansion.
     RealType x = -boost::math::erfc_inv(2 * p, Policy()) * constants::root_two<RealType>();
 
- // avoid unnecessary computations if there is no skew
+ // Avoid unnecessary computations if there is no skew.
     if(shape != 0)
     {
       const RealType skew = skewness(dist);
       const RealType exk = kurtosis_excess(dist);
 
       x = x + (x*x-static_cast<RealType>(1))*skew/static_cast<RealType>(6)
- + x*(x*x-static_cast<RealType>(3))*exk/static_cast<RealType>(24)
- - x*(static_cast<RealType>(2)*x*x-static_cast<RealType>(5))*skew*skew/static_cast<RealType>(36);
+ + x*(x*x-static_cast<RealType>(3))*exk/static_cast<RealType>(24)
+ - x*(static_cast<RealType>(2)*x*x-static_cast<RealType>(5))*skew*skew/static_cast<RealType>(36);
     } // if(shape != 0)
 
     result = standard_deviation(dist)*x+mean(dist);
 
- // handle special case of non-skew normal distribution
+ // handle special case of non-skew normal distribution.
     if(shape == 0)
       return result;
 
@@ -681,7 +681,7 @@
 
   template <class RealType, class Policy>
   inline RealType quantile(const complemented2_type<skew_normal_distribution<RealType, Policy>, RealType>& c)
- {
+ {
     const RealType scale = c.dist.scale();
     const RealType location = c.dist.location();
     const RealType shape = c.dist.shape();

Modified: trunk/boost/math/special_functions/owens_t.hpp
==============================================================================
--- trunk/boost/math/special_functions/owens_t.hpp (original)
+++ trunk/boost/math/special_functions/owens_t.hpp 2012-08-09 13:58:46 EDT (Thu, 09 Aug 2012)
@@ -1,4 +1,4 @@
-// (C) Benjamin Sobotta 2012
+// Copyright Benjamin Sobotta 2012
 
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file


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