diff --git a/Grid/stencil/GeneralLocalStencil.h b/Grid/stencil/GeneralLocalStencil.h index f14d8096..5e9f2cd6 100644 --- a/Grid/stencil/GeneralLocalStencil.h +++ b/Grid/stencil/GeneralLocalStencil.h @@ -123,7 +123,7 @@ public: } if ( permute_slice ) { int ptype =grid->PermuteType(d); - uint8_t mask =grid->Nsimd() >> (ptype + 1); + uint8_t mask =0x1<