Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50405 - trunk/libs/math/test
From: john_at_[hidden]
Date: 2008-12-29 13:24:10


Author: johnmaddock
Date: 2008-12-29 13:24:09 EST (Mon, 29 Dec 2008)
New Revision: 50405
URL: http://svn.boost.org/trac/boost/changeset/50405

Log:
Adjust expected error rate, otherwise test *just* fails on BSD platforms.
Text files modified:
   trunk/libs/math/test/test_nc_chi_squared.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/math/test/test_nc_chi_squared.cpp
==============================================================================
--- trunk/libs/math/test/test_nc_chi_squared.cpp (original)
+++ trunk/libs/math/test/test_nc_chi_squared.cpp 2008-12-29 13:24:09 EST (Mon, 29 Dec 2008)
@@ -191,7 +191,7 @@
 {
    RealType tolerance = (std::max)(
       boost::math::tools::epsilon<RealType>(),
- (RealType)boost::math::tools::epsilon<double>() * 5) * 100;
+ (RealType)boost::math::tools::epsilon<double>() * 5) * 150;
    //
    // At float precision we need to up the tolerance, since
    // the input values are rounded off to inexact quantities


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