1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01: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 ndim = out._grid->Nd();
int out_nsimd = out_grid->Nsimd(); 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++){ for(int lane=0; lane < out_nsimd; lane++){
out_icoor[lane].resize(ndim); out_icoor[lane].resize(ndim);