mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Remove all BOOST_MATH_STATIC_ASSERT_MSG
This commit is contained in:
@@ -74,7 +74,7 @@ value_type derivative (const value_type x, const value_type dx, function_type fu
|
||||
\return derivative at x.
|
||||
*/
|
||||
|
||||
BOOST_MATH_STATIC_ASSERT_MSG(false == std::numeric_limits<value_type>::is_integer, "value_type must be a floating-point type!");
|
||||
static_assert(false == std::numeric_limits<value_type>::is_integer, "value_type must be a floating-point type!");
|
||||
|
||||
const value_type dx2(dx * 2U);
|
||||
const value_type dx3(dx * 3U);
|
||||
|
||||
Reference in New Issue
Block a user