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

Another fix for pedantic compilers

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

View File

@ -539,7 +539,7 @@ void precisionChange(Lattice<VobjOut> &out, const Lattice<VobjIn> &in){
int ndim = out._grid->Nd();
int out_nsimd = out_grid->Nsimd();
std::vector<int> out_icoor[out_nsimd];
std::vector<std::vector<int> > out_icoor(out_nsimd);
for(int lane=0; lane < out_nsimd; lane++){
out_icoor[lane].resize(ndim);