git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13058 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -43,7 +43,7 @@ PairCoulWolf::PairCoulWolf(LAMMPS *lmp) : Pair(lmp)
|
||||
|
||||
PairCoulWolf::~PairCoulWolf()
|
||||
{
|
||||
if (allocated) {
|
||||
if (allocated && !copymode) {
|
||||
memory->destroy(setflag);
|
||||
memory->destroy(cutsq);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user