mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-04 15:08:05 +01:00
Fix for pedantic compilers
This commit is contained in:
1 parent
4774a3bcd2
commit
184642adb0
1 file changed
+1
-1
@@ -493,7 +493,7 @@ typename std::enable_if<isSIMDvectorized<vobj>::value && !isSIMDvectorized<sobj>
|
||||
int ndim = in_grid->Nd();
|
||||
int in_nsimd = vtype::Nsimd();
|
||||
|
||||
std::vector<int> in_icoor[in_nsimd];
|
||||
std::vector<std::vector<int> > in_icoor(in_nsimd);
|
||||
|
||||
for(int lane=0; lane < in_nsimd; lane++){
|
||||
in_icoor[lane].resize(ndim);
|
||||
|
||||
Reference in new issue
Block a user