2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-17 01:42:15 +00:00

Corrected wrong test values in uniform cdf complemented.

(and wrong code in uniform.hpp)

[SVN r73359]
This commit is contained in:
Paul A. Bristow
2011-07-25 16:47:57 +00:00
parent 4a23024043
commit 4e13294bae

View File

@@ -167,7 +167,7 @@ void test_spots(RealType)
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