From f3be6dff226d9dc4eb4365af39ac49d2b7c7c9dc Mon Sep 17 00:00:00 2001 From: Sam Yates <yates@cscs.ch> Date: Fri, 16 Mar 2018 18:19:47 +0100 Subject: [PATCH] Fix broken namespace renaming in SIMD (#453) --- src/simd/approx.hpp | 2 ++ src/simd/avx.hpp | 2 +- src/simd/native.hpp | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/simd/approx.hpp b/src/simd/approx.hpp index cd5f8395..f21cf757 100644 --- a/src/simd/approx.hpp +++ b/src/simd/approx.hpp @@ -13,6 +13,7 @@ // detail concerning the approximations. namespace arb { +namespace simd { namespace simd_detail { // Exponential: @@ -81,4 +82,5 @@ constexpr double Q3log = 4.52279145837532221105e1; constexpr double Q4log = 1.12873587189167450590e1; } // namespace simd_detail +} // namespace simd } // namespace arb diff --git a/src/simd/avx.hpp b/src/simd/avx.hpp index 1527f1b0..80c2a26b 100644 --- a/src/simd/avx.hpp +++ b/src/simd/avx.hpp @@ -12,7 +12,7 @@ #include <simd/implbase.hpp> namespace arb { -namespace simsimd { +namespace simd { namespace simd_detail { struct avx_int4; diff --git a/src/simd/native.hpp b/src/simd/native.hpp index d71bccec..f03b3037 100644 --- a/src/simd/native.hpp +++ b/src/simd/native.hpp @@ -33,11 +33,13 @@ struct native { #define ARB_DEF_NATIVE_SIMD_(T, N, A)\ namespace arb {\ +namespace simd {\ namespace simd_abi {\ template <> struct native<T, N> {\ using type = typename A<T, N>::type;\ };\ }\ +}\ } -- GitLab