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

Need parenthesis around isfinite call.

This commit is contained in:
jzmaddock
2015-08-17 19:08:20 +01:00
parent ba98215010
commit 277a24b7a6

View File

@@ -113,7 +113,7 @@ public:
{
for(unsigned j = 0; j < tests[i].x_values.size(); ++j)
{
if(boost::math::isfinite(tests[i].x_values[j]))
if((boost::math::isfinite)(tests[i].x_values[j]))
sum += f(tests[i].params, p_value ? quantiles[j] : tests[i].x_values[j]);
++data_size;
}