git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15083 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -2197,7 +2197,7 @@ void FixGCMC::update_gas_atoms_list()
|
||||
tagint *molecule = atom->molecule;
|
||||
double **x = atom->x;
|
||||
|
||||
if (nlocal > gcmc_nmax) {
|
||||
if (atom->nmax > gcmc_nmax) {
|
||||
memory->sfree(local_gas_list);
|
||||
gcmc_nmax = atom->nmax;
|
||||
local_gas_list = (int *) memory->smalloc(gcmc_nmax*sizeof(int),
|
||||
|
||||
Reference in New Issue
Block a user