forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9148 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
755e63c0bd
commit
bc70568865
|
@ -825,7 +825,7 @@ void FixGCMC::attempt_molecule_insertion()
|
||||||
int nfix = modify->nfix;
|
int nfix = modify->nfix;
|
||||||
Fix **fix = modify->fix;
|
Fix **fix = modify->fix;
|
||||||
for (int j = 0; j < nfix; j++)
|
for (int j = 0; j < nfix; j++)
|
||||||
if (fix[j]->create_attribute) fix[j]->set_arrays(i);
|
if (fix[j]->create_attribute) fix[j]->set_arrays(m);
|
||||||
|
|
||||||
} else atom->nlocal--;
|
} else atom->nlocal--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue