git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2311 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2008-12-16 19:46:30 +00:00
parent 3b9310594d
commit e1f72f6d3a
5 changed files with 5 additions and 4 deletions

View File

@ -952,6 +952,7 @@ void Neighbor::build()
if (dist_check) {
double **x = atom->x;
int nlocal = atom->nlocal;
if (includegroup) nlocal = atom->nfirst;
if (nlocal > maxhold) {
maxhold = atom->nmax;
memory->destroy_2d_double_array(xhold);