diff --git a/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h b/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h index fed84a33..fcd79d5f 100644 --- a/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h +++ b/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h @@ -149,13 +149,15 @@ public: int32_t point= bp/nbasis; int32_t b = bp%nbasis; auto SE = Stencil_v.GetEntry(point,ss); - int32_t snbr= SE->_offset; - auto nbr = coalescedReadGeneralPermute(in_v[snbr],SE->_permute,Nd); - auto res = Aview_p[point][ss](0,b)*nbr(0); - for(int bb=1;bb_permute == 0 ) { + int32_t snbr= SE->_offset; + auto nbr = coalescedReadGeneralPermute(in_v[snbr],SE->_permute,Nd); + auto res = Aview_p[point][ss](0,b)*nbr(0); + for(int bb=1;bb