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

WilsonMG: Fix incompatibility with single prec MG in construction of simd layout on coarser grids

This commit is contained in:
Daniel Richtmann 2018-06-09 16:21:19 +02:00 committed by Daniel Richtmann
parent 7564fedf68
commit e9b9550298
No known key found for this signature in database
GPG Key ID: B33C490AF0772057

View File

@ -100,7 +100,7 @@ public:
Seeds[level][d] = (level)*Nd + d + 1;
}
Grids.push_back(SpaceTimeGrid::makeFourDimGrid(tmp, GridDefaultSimd(Nd, vComplex::Nsimd()), GridDefaultMpi()));
Grids.push_back(SpaceTimeGrid::makeFourDimGrid(tmp, Grids[level - 1]->_simd_layout, GridDefaultMpi()));
PRNGs.push_back(GridParallelRNG(Grids[level]));
PRNGs[level].SeedFixedIntegers(Seeds[level]);