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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user