git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15468 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -497,7 +497,7 @@ void ComputeTempProfile::bin_assign()
|
||||
{
|
||||
// reallocate bin array if necessary
|
||||
|
||||
if (atom->nlocal > maxatom) {
|
||||
if (atom->nmax > maxatom) {
|
||||
maxatom = atom->nmax;
|
||||
memory->destroy(bin);
|
||||
memory->create(bin,maxatom,"temp/profile:bin");
|
||||
|
||||
Reference in New Issue
Block a user