forked from lijiext/lammps
Fixing issue in fix_qeq_reax
This commit is contained in:
parent
f1ec6dc41a
commit
d2b6559039
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue