From 9ea64767b05bc4c468da089e2c49bbc6813c2fa5 Mon Sep 17 00:00:00 2001 From: Azusa Yamaguchi Date: Sun, 31 May 2015 22:50:03 +0100 Subject: [PATCH] No compile fix on mpi target --- lib/cshift/Grid_cshift_mpi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cshift/Grid_cshift_mpi.h b/lib/cshift/Grid_cshift_mpi.h index 8c0badcd..3b3fad29 100644 --- a/lib/cshift/Grid_cshift_mpi.h +++ b/lib/cshift/Grid_cshift_mpi.h @@ -17,7 +17,7 @@ template Lattice Cshift(Lattice &rhs,int dimension,int s // Map to always positive shift modulo global full dimension. shift = (shift+fd)%fd; - ret.checkerboard = rhs._grid->CheckerBoardDestination(rhs.checkerboard,shift); + ret.checkerboard = rhs._grid->CheckerBoardDestination(rhs.checkerboard,shift,dimension); // the permute type int simd_layout = rhs._grid->_simd_layout[dimension];