Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65124 - trunk/libs/math/example
From: pbristow_at_[hidden]
Date: 2010-08-30 05:07:43


Author: pbristow
Date: 2010-08-30 05:07:41 EDT (Mon, 30 Aug 2010)
New Revision: 65124
URL: http://svn.boost.org/trac/boost/changeset/65124

Log:
Avoid name ambiguity.
Text files modified:
   trunk/libs/math/example/chi_square_std_dev_test.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/math/example/chi_square_std_dev_test.cpp
==============================================================================
--- trunk/libs/math/example/chi_square_std_dev_test.cpp (original)
+++ trunk/libs/math/example/chi_square_std_dev_test.cpp 2010-08-30 05:07:41 EDT (Mon, 30 Aug 2010)
@@ -1,5 +1,5 @@
 // Copyright John Maddock 2006, 2007
-// Copyright Paul A. Bristow 2007
+// Copyright Paul A. Bristow 2010
 
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0.
@@ -12,8 +12,8 @@
 #include <iomanip>
 using std::setw;
 using std::setprecision;
-#include <boost/math/distributions/chi_squared.hpp>
 
+#include <boost/math/distributions/chi_squared.hpp>
 
 void confidence_limits_on_std_deviation(
         double Sd, // Sample Standard Deviation
@@ -31,7 +31,7 @@
    // contains the true standard deviation or it does not.
    // See http://www.itl.nist.gov/div898/handbook/eda/section3/eda358.htm
 
- // using namespace boost::math;
+ // using namespace boost::math; // potential name ambiguity with std <random>
    using boost::math::chi_squared;
    using boost::math::quantile;
    using boost::math::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