1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Fix for pedantic compilers

This commit is contained in:
Christopher Kelly 2016-07-06 18:15:15 -04:00
parent 4774a3bcd2
commit 184642adb0

View File

@ -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);