diff --git a/lib/Grid_stencil.h b/lib/Grid_stencil.h index ce987746..fa22361b 100644 --- a/lib/Grid_stencil.h +++ b/lib/Grid_stencil.h @@ -120,8 +120,8 @@ namespace Grid { // Map to always positive shift modulo global full dimension. int shift = (displacement+fd)%fd; - int checkerboard = _grid->CheckerBoardDestination(source.checkerboard,shift); - assert (checkerboard== _checkerboard); + // int checkerboard = _grid->CheckerBoardDestination(source.checkerboard,shift); + assert (source.checkerboard== _checkerboard); // the permute type int simd_layout = _grid->_simd_layout[dimension];