mirror of
https://github.com/boostorg/math.git
synced 2025-05-11 21:33:52 +00:00
Fix expected value's type for MSVC
This commit is contained in:
parent
1e47518075
commit
a26b1045de
@ -22,7 +22,7 @@ int main()
|
||||
const auto binom_dist = boost::math::binomial_distribution<double>(n, p);
|
||||
const auto pdf1 = boost::math::pdf(binom_dist, 3);
|
||||
|
||||
CHECK_ULP_CLOSE(pdf1, 0, 1);
|
||||
CHECK_ULP_CLOSE(pdf1, 0.0, 1);
|
||||
|
||||
if (std::fetestexcept(FE_DIVBYZERO))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user