From 84c34a0c890fea574933f28e30f33cd0b3e757ed Mon Sep 17 00:00:00 2001 From: James E McClure Date: Thu, 5 Apr 2018 16:15:29 -0400 Subject: [PATCH] fixed bug in dram version --- common/ScaLBL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/ScaLBL.cpp b/common/ScaLBL.cpp index d195515a..e7cc85bf 100644 --- a/common/ScaLBL.cpp +++ b/common/ScaLBL.cpp @@ -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