1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-10 14:10:46 +01:00

NAMESAPCE

This commit is contained in:
paboyle 2018-01-12 23:00:03 +00:00
parent d8ff895e74
commit 6a2eca2ec2
2 changed files with 13 additions and 15 deletions

View File

@ -62,7 +62,7 @@ directory
#include "l1p.h"
namespace Grid {
NAMESPACE_BEGIN(Grid);
//////////////////////////////////////
// To take the floating point type of real/complex type
@ -427,9 +427,6 @@ class Grid_simd {
inline void putlane(const Scalar_type &S, int lane){
((Scalar_type*)&v)[lane] = S;
}
}; // end of Grid_simd class definition
inline void permute(ComplexD &y,ComplexD b, int perm) { y=b; }
@ -863,6 +860,7 @@ template <> struct is_simd<vInteger> : public std::true_type {};
template <typename T> using IfSimd = Invoke<std::enable_if<is_simd<T>::value, int> >;
template <typename T> using IfNotSimd = Invoke<std::enable_if<!is_simd<T>::value, unsigned> >;
}
NAMESPACE_END(Grid);
#endif

View File

@ -34,7 +34,7 @@ directory
#include <cmath>
namespace Grid {
NAMESPACE_BEGIN(Grid);
template <class scalar>
struct SqrtRealFunctor {
@ -219,5 +219,5 @@ inline Grid_simd<S, V> operator||(const Grid_simd<S, V> &x,
const Grid_simd<S, V> &y) {
return SimdApplyBinop(OrOrFunctor<S>(), x, y);
}
}
NAMESPACE_END(Grid);
#endif