From 4e13294bae4ddc4bdf4b1d593b72157430cfa1c8 Mon Sep 17 00:00:00 2001 From: "Paul A. Bristow" Date: Mon, 25 Jul 2011 16:47:57 +0000 Subject: [PATCH] Corrected wrong test values in uniform cdf complemented. (and wrong code in uniform.hpp) [SVN r73359] --- test/test_uniform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_uniform.cpp b/test/test_uniform.cpp index b70cc9a58..aaa7b5ec5 100644 --- a/test/test_uniform.cpp +++ b/test/test_uniform.cpp @@ -167,7 +167,7 @@ void test_spots(RealType) static_cast(0)); BOOST_CHECK_EQUAL( // x > upper cdf(complement(uniform_distribution(0, 1), static_cast(2))), - static_cast(1)); + static_cast(0)); // quantile