git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1773 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -1429,11 +1429,12 @@ void Neighbor::bin_atoms()
|
||||
binhead[ibin] = i;
|
||||
}
|
||||
}
|
||||
for (i = atom->nfirst; i >= 0; i--) {
|
||||
for (i = atom->nfirst-1; i >= 0; i--) {
|
||||
ibin = coord2bin(x[i]);
|
||||
bins[i] = binhead[ibin];
|
||||
binhead[ibin] = i;
|
||||
}
|
||||
|
||||
} else {
|
||||
for (i = nall-1; i >= 0; i--) {
|
||||
ibin = coord2bin(x[i]);
|
||||
|
||||
Reference in New Issue
Block a user