From ca30116144fd499a66a2f55eb8b7d44edcd421e3 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Mon, 25 May 2015 13:42:12 +0100 Subject: [PATCH] red black fix --- lib/Grid_stencil.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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];