mirror of
https://github.com/paboyle/Grid.git
synced 2025-08-18 20:21:53 +01:00
Missed one
This commit is contained in:
@@ -136,7 +136,7 @@ template<class vobj> inline void acceleratorSetCheckerboard(Lattice<vobj> &full,
|
|||||||
int linear=0;
|
int linear=0;
|
||||||
|
|
||||||
Lexicographic::CoorFromIndex(coor,ss,rdim_full);
|
Lexicographic::CoorFromIndex(coor,ss,rdim_full);
|
||||||
GRID_ASSERT(coor.size()==ndim_half);
|
assert(coor.size()==ndim_half);
|
||||||
|
|
||||||
for(int d=0;d<ndim_half;d++){
|
for(int d=0;d<ndim_half;d++){
|
||||||
if(checker_dim_mask_half[d]) linear += coor[d];
|
if(checker_dim_mask_half[d]) linear += coor[d];
|
||||||
|
Reference in New Issue
Block a user