|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50066 - sandbox/math_toolkit/libs/math/test
From: pbristow_at_[hidden]
Date: 2008-12-02 07:45:37
Author: pbristow
Date: 2008-12-02 07:45:36 EST (Tue, 02 Dec 2008)
New Revision: 50066
URL: http://svn.boost.org/trac/boost/changeset/50066
Log:
warning suppressed in tolerance
Text files modified:
sandbox/math_toolkit/libs/math/test/test_students_t.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: sandbox/math_toolkit/libs/math/test/test_students_t.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/test/test_students_t.cpp (original)
+++ sandbox/math_toolkit/libs/math/test/test_students_t.cpp 2008-12-02 07:45:36 EST (Tue, 02 Dec 2008)
@@ -54,7 +54,8 @@
void test_spots(RealType)
{
// Basic sanity checks
- RealType tolerance = 1e-4; // 1e-6 (as %)
+
+ RealType tolerance = static_cast<RealType>(1e-4); // 1e-6 (as %)
// Some tests only pass at 1e-5 because probability value is less accurate,
// a digit in 6th decimal place, although calculated using
// a t-distribution generator (claimed 6 decimal digits) at
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