2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Merged changes from Trunk.

[SVN r41085]
This commit is contained in:
John Maddock
2007-11-14 12:11:23 +00:00
parent 3846ff7b2f
commit e7db05cc1a
107 changed files with 1007 additions and 258 deletions

View File

@@ -486,7 +486,7 @@ void test_spots(RealType)
triangular_distribution<RealType, inf_policy> tridef_inf(-1, 0., 1);
// But can't use BOOST_CHECK_EQUAL(?, quiet_NaN)
using boost::math::isnan;
BOOST_CHECK(isnan(pdf(tridef_inf, std::numeric_limits<RealType>::infinity())));
BOOST_CHECK((isnan)(pdf(tridef_inf, std::numeric_limits<RealType>::infinity())));
} // test for infinity using std::numeric_limits<>::infinity()
else
{ // real_concept case, does has_infinfity == false, so can't check it throws.