Favor copymode instead of cleanup_copy

This commit is contained in:
Stan Moore
2018-07-06 17:06:37 -06:00
parent db75232957
commit 0c1dcfb617
3 changed files with 5 additions and 11 deletions

View File

@ -38,6 +38,8 @@ FixEnforce2D::FixEnforce2D(LAMMPS *lmp, int narg, char **arg) :
FixEnforce2D::~FixEnforce2D()
{
if (copymode) return;
delete [] flist;
}