Browse Source

Remove *constexpr* from *compute_abs* on CUDA

Stephen Xu 2 years ago
parent
commit
f8a9e5043f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/detail/compute_common.hpp

+ 1 - 1
glm/detail/compute_common.hpp

@@ -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);
 		}
 		}