Skip to content

Commit 2aa7866

Browse files
committed
Fix GCC 5 error for static_assert without message
1 parent 79ce66d commit 2aa7866

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

Lines changed: 1 addition & 1 deletion
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)