From a3a8f84f6b3437ffbe21491ed23718aadf778979 Mon Sep 17 00:00:00 2001 From: Nouri Khalass Date: Sat, 21 Jan 2017 19:47:41 +0100 Subject: [PATCH] Fix issue #600 and #605 This issue was caused by an incorrect number of template arguments. --- glm/detail/func_common.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/detail/func_common.inl b/glm/detail/func_common.inl index cafaed59..f73bc7e1 100644 --- a/glm/detail/func_common.inl +++ b/glm/detail/func_common.inl @@ -190,12 +190,12 @@ namespace detail # if GLM_ARCH == GLM_ARCH_X86 template class vecType, bool Aligned> - struct compute_sign + struct compute_sign { GLM_FUNC_QUALIFIER static vecType call(vecType const & x) { T const Shift(static_cast(sizeof(T) * 8 - 1)); - vecType const y(vecType::type, P>(-x) >> typename make_unsigned::type(Shift)); + vecType const y(L, vecType::type, P>(-x) >> typename make_unsigned::type(Shift)); return (x >> Shift) | y; }