1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Bug fix for MPI running ; introduced last night

This commit is contained in:
paboyle 2018-04-27 05:19:10 +01:00
parent 1be8089604
commit 809b1cdd58

View File

@ -152,7 +152,7 @@ template<class vobj> void Scatter_plane_simple (Lattice<vobj> &rhs,commVector<vo
for(int b=0;b<e2;b++){ for(int b=0;b<e2;b++){
int o =n*rhs._grid->_slice_stride[dimension]; int o =n*rhs._grid->_slice_stride[dimension];
int bo =n*rhs._grid->_slice_block[dimension]; int bo =n*rhs._grid->_slice_block[dimension];
table[ent++] = std::pair<int,int>(so+o+b,bo); table[ent++] = std::pair<int,int>(so+o+b,bo+b);
} }
} }