Skip to content

Commit 0a6b08c

Browse files
committed
Fix GCC 5 error for static_assert without message
1 parent 0a333eb commit 0a6b08c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/math/special_functions/fast_float_distance.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ boost::multiprecision::int128_type fast_float_distance(boost::multiprecision::fl
6363
BOOST_MATH_THROW_EXCEPTION(std::domain_error("Both arguments to fast_float_distnace must be finite"));
6464
}
6565

66-
static_assert(sizeof(boost::multiprecision::int128_type) == sizeof(boost::multiprecision::float128_type));
66+
static_assert(sizeof(boost::multiprecision::int128_type) == sizeof(boost::multiprecision::float128_type), "float128 is the wrong size");
6767

6868
boost::multiprecision::int128_type ai;
6969
boost::multiprecision::int128_type bi;

0 commit comments

Comments
 (0)