forked from lijiext/lammps
avoid spurious error message, when no storage fix is active/used
This commit is contained in:
parent
3f46b6d782
commit
2f13365cf5
|
@ -493,7 +493,7 @@ ComputeChunkAtom::~ComputeChunkAtom()
|
||||||
{
|
{
|
||||||
// check nfix in case all fixes have already been deleted
|
// check nfix in case all fixes have already been deleted
|
||||||
|
|
||||||
if (modify->nfix) modify->delete_fix(id_fix);
|
if (id_fix && modify->nfix) modify->delete_fix(id_fix);
|
||||||
delete [] id_fix;
|
delete [] id_fix;
|
||||||
|
|
||||||
memory->destroy(chunk);
|
memory->destroy(chunk);
|
||||||
|
|
Loading…
Reference in New Issue