git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9275 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -70,7 +70,7 @@ void Special::build()
|
||||
// setup ring of procs
|
||||
|
||||
int next = me + 1;
|
||||
int prev = me -1;
|
||||
int prev = me - 1;
|
||||
if (next == nprocs) next = 0;
|
||||
if (prev < 0) prev = nprocs - 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user