git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15083 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -153,7 +153,7 @@ void FixHeat::end_of_step()
|
||||
|
||||
// reallocate per-atom arrays if necessary
|
||||
|
||||
if (hstyle == ATOM && atom->nlocal > maxatom) {
|
||||
if (hstyle == ATOM && atom->nmax > maxatom) {
|
||||
maxatom = atom->nmax;
|
||||
memory->destroy(vheat);
|
||||
memory->destroy(vscale);
|
||||
|
||||
Reference in New Issue
Block a user