Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2008-07-14 04:55:30


Author: johnmaddock
Date: 2008-07-14 04:55:29 EDT (Mon, 14 Jul 2008)
New Revision: 47417
URL: http://svn.boost.org/trac/boost/changeset/47417

Log:
Tweak expected error levels.
Text files modified:
   trunk/libs/math/test/test_igamma_inv.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/math/test/test_igamma_inv.cpp
==============================================================================
--- trunk/libs/math/test/test_igamma_inv.cpp (original)
+++ trunk/libs/math/test/test_igamma_inv.cpp 2008-07-14 04:55:29 EDT (Mon, 14 Jul 2008)
@@ -355,9 +355,9 @@
 {
    std::cout << "Running spot checks for type " << type_name << std::endl;
    //
- // basic sanity checks, tolerance is 100 epsilon expressed as a percentage:
+ // basic sanity checks, tolerance is 150 epsilon expressed as a percentage:
    //
- T tolerance = boost::math::tools::epsilon<T>() * 10000;
+ T tolerance = boost::math::tools::epsilon<T>() * 15000;
    if(tolerance < 1e-25f)
       tolerance = 1e-25f; // limit of test data?
    BOOST_CHECK_CLOSE(::boost::math::gamma_q_inv(static_cast<T>(1)/100, static_cast<T>(1.0/128)), static_cast<T>(0.35767144525455121503672919307647515332256996883787L), tolerance);


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