Remove *constexpr* from *compute_abs* on CUDA

This commit is contained in:
Stephen Xu 2023-03-30 19:21:23 +01:00 committed by Christophe
parent 64263d6c9a
commit c7c2c3833f

View File

@ -28,7 +28,7 @@ namespace detail
template<> template<>
struct compute_abs<float, true> struct compute_abs<float, true>
{ {
GLM_FUNC_QUALIFIER GLM_CONSTEXPR static float call(float x) GLM_FUNC_QUALIFIER static float call(float x)
{ {
return fabsf(x); return fabsf(x);
} }