Fix parenthesis in use of max().

This commit is contained in:
jzmaddock
2017-06-08 08:49:26 +01:00
parent e08fb96dce
commit a98c0ed628

View File

@@ -303,7 +303,7 @@ void eval_exp(T& result, const T& x)
exp_type n;
eval_convert_to(&n, result);
if (n == std::numeric_limits<exp_type>::max())
if (n == (std::numeric_limits<exp_type>::max)())
{
// Exponent is too large to fit in our exponent type:
if (isneg)