Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78770 - trunk/libs/math/test
From: pbristow_at_[hidden]
Date: 2012-05-30 12:39:40


Author: pbristow
Date: 2012-05-30 12:39:37 EDT (Wed, 30 May 2012)
New Revision: 78770
URL: http://svn.boost.org/trac/boost/changeset/78770

Log:
Corrected comments.
Text files modified:
   trunk/libs/math/test/test_out_of_range.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/math/test/test_out_of_range.hpp
==============================================================================
--- trunk/libs/math/test/test_out_of_range.hpp (original)
+++ trunk/libs/math/test/test_out_of_range.hpp 2012-05-30 12:39:37 EDT (Wed, 30 May 2012)
@@ -35,7 +35,7 @@
 { // Checks that
    typedef typename Distro::value_type value_type;
    if((boost::math::isfinite)(range(d).first) && (range(d).first != -boost::math::tools::max_value<value_type>()))
- { // If possible, check that a value just less than the bottom of the supported range throws domain errors.
+ { // If possible, check that a random variable value just less than the bottom of the supported range throws domain errors.
       value_type m = boost::math::float_prior(range(d).first);
       BOOST_ASSERT(m != range(d).first);
       BOOST_ASSERT(m < range(d).first);
@@ -44,7 +44,7 @@
       BOOST_CHECK_THROW(cdf(complement(d, m)), std::domain_error);
    }
    if((boost::math::isfinite)(range(d).second) && (range(d).second != boost::math::tools::max_value<value_type>()))
- { // If possible, check that a value just more than the top of the supported range throws domain errors.
+ { // If possible, check that a random variable value just more than the top of the supported range throws domain errors.
       value_type m = boost::math::float_next(range(d).second);
       BOOST_ASSERT(m != range(d).first);
       BOOST_ASSERT(m > range(d).first);


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