|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73359 - trunk/libs/math/test
From: pbristow_at_[hidden]
Date: 2011-07-25 12:47:59
Author: pbristow
Date: 2011-07-25 12:47:57 EDT (Mon, 25 Jul 2011)
New Revision: 73359
URL: http://svn.boost.org/trac/boost/changeset/73359
Log:
Corrected wrong test values in uniform cdf complemented.
(and wrong code in uniform.hpp)
Text files modified:
trunk/libs/math/test/test_uniform.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/math/test/test_uniform.cpp
==============================================================================
--- trunk/libs/math/test/test_uniform.cpp (original)
+++ trunk/libs/math/test/test_uniform.cpp 2011-07-25 12:47:57 EDT (Mon, 25 Jul 2011)
@@ -167,7 +167,7 @@
static_cast<RealType>(0));
BOOST_CHECK_EQUAL( // x > upper
cdf(complement(uniform_distribution<RealType>(0, 1), static_cast<RealType>(2))),
- static_cast<RealType>(1));
+ static_cast<RealType>(0));
// quantile
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