mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 17:04:35 +00:00
Remove *constexpr* from *compute_abs* on CUDA
This commit is contained in:
parent
64263d6c9a
commit
c7c2c3833f
@ -28,7 +28,7 @@ namespace detail
|
||||
template<>
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user