|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64624 - trunk/libs/math/test
From: john_at_[hidden]
Date: 2010-08-06 04:26:28
Author: johnmaddock
Date: 2010-08-06 04:26:16 EDT (Fri, 06 Aug 2010)
New Revision: 64624
URL: http://svn.boost.org/trac/boost/changeset/64624
Log:
Up the tolerance for the new quantile tests, as these fail for sun otherwise.
Text files modified:
trunk/libs/math/test/test_students_t.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/math/test/test_students_t.cpp
==============================================================================
--- trunk/libs/math/test/test_students_t.cpp (original)
+++ trunk/libs/math/test/test_students_t.cpp 2010-08-06 04:26:16 EDT (Fri, 06 Aug 2010)
@@ -259,9 +259,9 @@
// Some special tests to exercise the double-precision approximations
// to the quantile:
//
- // tolerance is 30 eps expressed as a persent:
+ // tolerance is 50 eps expressed as a persent:
//
- tolerance = boost::math::tools::epsilon<RealType>() * 3000;
+ tolerance = boost::math::tools::epsilon<RealType>() * 5000;
BOOST_CHECK_CLOSE(boost::math::quantile(
students_t_distribution<RealType>(2.00390625L), // degrees_of_freedom.
static_cast<RealType>(0.5625L)), // probability.
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