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

Suppress conversion warning.

This commit is contained in:
Steven Watanabe
2016-02-19 10:45:05 -07:00
parent fdd3073448
commit 18099e4a11

View File

@@ -66,7 +66,7 @@ struct chi_squared_collector {
if(variables <= 1) {
return 0;
} else {
return boost::math::cdf(boost::math::chi_squared(variables - 1), chi_squared);
return boost::math::cdf(boost::math::chi_squared(static_cast<double>(variables - 1)), chi_squared);
}
}