From 15cc78f0b649264c295eb34c65a14e4f4cbb2d25 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 27 Aug 2024 11:23:42 -0400 Subject: [PATCH] peek/poke local site on checkerboard arrays --- Grid/lattice/Lattice_peekpoke.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Grid/lattice/Lattice_peekpoke.h b/Grid/lattice/Lattice_peekpoke.h index b6a36b11..6106962c 100644 --- a/Grid/lattice/Lattice_peekpoke.h +++ b/Grid/lattice/Lattice_peekpoke.h @@ -165,7 +165,7 @@ inline void peekLocalSite(sobj &s,const LatticeView &l,Coordinate &site) int Nsimd = grid->Nsimd(); - assert( l.Checkerboard()== grid->CheckerBoard(site)); + // assert( l.Checkerboard()== grid->CheckerBoard(site)); assert( sizeof(sobj)*Nsimd == sizeof(vobj)); static const int words=sizeof(vobj)/sizeof(vector_type); @@ -179,7 +179,7 @@ inline void peekLocalSite(sobj &s,const LatticeView &l,Coordinate &site) for(int w=0;w @@ -202,7 +202,7 @@ inline void pokeLocalSite(const sobj &s,LatticeView &l,Coordinate &site) int Nsimd = grid->Nsimd(); - assert( l.Checkerboard()== grid->CheckerBoard(site)); + // assert( l.Checkerboard()== grid->CheckerBoard(site)); assert( sizeof(sobj)*Nsimd == sizeof(vobj)); static const int words=sizeof(vobj)/sizeof(vector_type);