From 9bdb8ffb3f6f8ba7618a32a7d1b79a1321647e5f Mon Sep 17 00:00:00 2001 From: Azusa Yamaguchi Date: Sun, 14 Jun 2015 01:05:06 +0100 Subject: [PATCH] Allow sparse occupation of vectors in some cases --- lib/lattice/Lattice_peekpoke.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/lattice/Lattice_peekpoke.h b/lib/lattice/Lattice_peekpoke.h index 9416226a..5455fdd6 100644 --- a/lib/lattice/Lattice_peekpoke.h +++ b/lib/lattice/Lattice_peekpoke.h @@ -117,7 +117,9 @@ PARALLEL_FOR_LOOP int Nsimd = grid->Nsimd(); assert( l.checkerboard == l._grid->CheckerBoard(site)); - assert( sizeof(sobj)*Nsimd == sizeof(vobj)); + + // FIXME + // assert( sizeof(sobj)*Nsimd == sizeof(vobj)); int rank,odx,idx; grid->GlobalCoorToRankIndex(rank,odx,idx,site); @@ -132,6 +134,7 @@ PARALLEL_FOR_LOOP return; }; + ////////////////////////////////////////////////////////// // Peek a scalar object from the SIMD array //////////////////////////////////////////////////////////