From c7c2c3833fa5ed60fbbf5d73ef4f840a427edf03 Mon Sep 17 00:00:00 2001 From: Stephen Xu Date: Thu, 30 Mar 2023 19:21:23 +0100 Subject: [PATCH] Remove *constexpr* from *compute_abs* on CUDA --- glm/detail/compute_common.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/compute_common.hpp b/glm/detail/compute_common.hpp index 7267a497..0952195f 100644 --- a/glm/detail/compute_common.hpp +++ b/glm/detail/compute_common.hpp @@ -28,7 +28,7 @@ namespace detail template<> struct compute_abs { - GLM_FUNC_QUALIFIER GLM_CONSTEXPR static float call(float x) + GLM_FUNC_QUALIFIER static float call(float x) { return fabsf(x); }