diff --git a/glm/detail/func_common.inl b/glm/detail/func_common.inl index 8a7681c4..8c615f11 100644 --- a/glm/detail/func_common.inl +++ b/glm/detail/func_common.inl @@ -287,7 +287,8 @@ namespace detail std::numeric_limits::is_iec559 || (std::numeric_limits::is_signed && std::numeric_limits::is_integer), "'sign' only accept signed inputs"); - return detail::compute_sign<1, genFIType, defaultp, std::numeric_limits::is_iec559, highp>::call(vec<1, genFIType>(x)).x; + return detail::compute_sign<1, genFIType, defaultp, + std::numeric_limits::is_iec559, detailed::is_aligned::value>::call(vec<1, genFIType>(x)).x; } template