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:
parent
184642adb0
commit
dd8cfff111
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user