diff --git a/math/inv_sqrt.cpp b/math/inv_sqrt.cpp index d3bc5f325..aca7a32cc 100644 --- a/math/inv_sqrt.cpp +++ b/math/inv_sqrt.cpp @@ -23,10 +23,6 @@ */ template inline T Fast_InvSqrt(T x) { - static_assert(std::is_floating_point::value, - "T must be floating point type"); - static_assert(iterations == 1 or iterations == 2, - "itarations must equal 1 or 2"); using Tint = typename std::conditional::type; T y = x; @@ -55,8 +51,6 @@ inline T Fast_InvSqrt(T x) { */ template T Standard_InvSqrt(T number) { - static_assert(std::is_floating_point::value, - "T must be floating point type"); T squareRoot = sqrt(number); return 1.0f / squareRoot; }