Fix expected value's type for MSVC

This commit is contained in:
Matt Borland 2023-02-11 09:56:08 -08:00
parent 1e47518075
commit a26b1045de
No known key found for this signature in database
GPG Key ID: 1FC9FE1989F22A0B

View File

@ -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))
{