Fixing segfault in USER-FEP
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13974 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -490,7 +490,7 @@ void ComputeFEP::deallocate_storage()
|
||||
memory->destroy(pvatom_orig);
|
||||
if (chgflag) {
|
||||
memory->destroy(q_orig);
|
||||
if (force->kspace) {
|
||||
if (force && force->kspace) {
|
||||
memory->destroy(keatom_orig);
|
||||
memory->destroy(kvatom_orig);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user