Fixing issue in fix_qeq_reax

This commit is contained in:
Stan Moore 2017-05-31 10:52:03 -06:00
parent f1ec6dc41a
commit d2b6559039
1 changed files with 2 additions and 2 deletions

View File

@ -140,12 +140,12 @@ FixQEqReax::FixQEqReax(LAMMPS *lmp, int narg, char **arg) :
FixQEqReax::~FixQEqReax()
{
if (copymode) return;
delete[] pertype_option;
// unregister callbacks to this fix from Atom class
if (copymode) return;
atom->delete_callback(id,0);
memory->destroy(s_hist);