1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-05-23 02:24:17 +01:00

Remove compiler errors and warnings

This commit is contained in:
Peter Boyle
2019-07-18 14:47:02 +01:00
parent 08904f830e
commit a23dc295ac
13 changed files with 60 additions and 42 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ public:
static accelerator_inline constexpr int Nsimd(void) { return sizeof(vector_type)/sizeof(scalar_type); }
template <class T, typename std::enable_if<!isGridTensor<T>::value, T>::type * = nullptr>
strong_inline auto operator=(T arg) -> iVector<vtype, N> {
accelerator_inline auto operator=(T arg) -> iVector<vtype, N> {
zeroit(*this);
for (int i = 0; i < N; i++) _internal[i] = arg;
return *this;