fixed bug in dram version

This commit is contained in:
James E McClure 2018-04-05 16:15:29 -04:00
parent 97d42a4f88
commit 84c34a0c89

View File

@ -2491,7 +2491,7 @@ int ScaLBL_Communicator::MemoryOptimizedLayoutAA(IntArray &Map, int *neighborLis
printf("\n\n");
*/
Np = (last_interior%16 + 1)*16;
Np = (last_interior/16 + 1)*16;
// Now use Map to determine the neighbors for each lattice direction
for (k=1;k<Nz-1;k++){