forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3713 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
5486bc33aa
commit
c131b75529
|
@ -133,7 +133,7 @@ double ComputePropertyMolecule::memory_usage()
|
|||
void ComputePropertyMolecule::pack_mol(int n)
|
||||
{
|
||||
for (int i = idlo; i <= idhi; i++)
|
||||
if (molmap[i-idlo] >= 0) {
|
||||
if (molmap == NULL || molmap[i-idlo] >= 0) {
|
||||
buf[n] = i;
|
||||
n += nvalues;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue