mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
red black fix
This commit is contained in:
parent
5cf285bce9
commit
d30c013721
@ -120,8 +120,8 @@ namespace Grid {
|
|||||||
// Map to always positive shift modulo global full dimension.
|
// Map to always positive shift modulo global full dimension.
|
||||||
int shift = (displacement+fd)%fd;
|
int shift = (displacement+fd)%fd;
|
||||||
|
|
||||||
int checkerboard = _grid->CheckerBoardDestination(source.checkerboard,shift);
|
// int checkerboard = _grid->CheckerBoardDestination(source.checkerboard,shift);
|
||||||
assert (checkerboard== _checkerboard);
|
assert (source.checkerboard== _checkerboard);
|
||||||
|
|
||||||
// the permute type
|
// the permute type
|
||||||
int simd_layout = _grid->_simd_layout[dimension];
|
int simd_layout = _grid->_simd_layout[dimension];
|
||||||
|
Loading…
Reference in New Issue
Block a user