2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-20 14:52:17 +00:00

Apply patches for issues #7429, #7891 and #7907.

Refs #7907.
Fixes #7429.
Fixes #7891.

[SVN r82579]
This commit is contained in:
John Maddock
2013-01-21 10:39:59 +00:00
parent 9168ceb1aa
commit 1bf259ea63
100 changed files with 104 additions and 103 deletions

View File

@@ -460,6 +460,7 @@ void test_spots(RealType /*T*/, const char* type_name)
test_spot(1, 13, 4, 26, static_cast<T>(0.248695652173913), static_cast<T>(0.296521739130435), static_cast<T>(1 - 0.296521739130435), tolerance);
test_spot(2, 13, 4, 26, static_cast<T>(0.40695652173913), static_cast<T>(0.703478260869565), static_cast<T>(1 - 0.703478260869565), tolerance);
test_spot(3, 13, 4, 26, static_cast<T>(0.248695652173913), static_cast<T>(0.952173913043478), static_cast<T>(1 - 0.952173913043478), tolerance);
test_spot(40, 70, 89, 170, static_cast<T>(0.0721901023798991), static_cast<T>(0.885447799131944), static_cast<T>(1 - 0.885447799131944), tolerance);
boost::math::hypergeometric_distribution<RealType> d(50, 200, 500);
BOOST_CHECK_EQUAL(range(d).first, 0u);