commit 12d7c653fdec4aa61a65f9a049582ec66cc73a2c
parent 31251decfe11bb78115f753835d27183f28cab2b
Author: [email protected] <[email protected]>
Date: Wed, 10 Aug 2016 08:47:16 +0300
Use size_t for mask template parameter
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kfr/base/vec.hpp b/include/kfr/base/vec.hpp
@@ -1303,7 +1303,7 @@ CMT_INLINE vec<T, N> tovec(const simd<T, N>& x)
{
return x;
}
-template <typename T, int N>
+template <typename T, size_t N>
CMT_INLINE vec<T, N> tovec(const mask<T, N>& x)
{
return *x;