remove dependence of dump modify 'at' and 'append'

This commit is contained in:
Steve Plimpton
2017-10-06 09:44:29 -06:00
parent f7cbdcf995
commit e91e505fb3
4 changed files with 36 additions and 28 deletions

View File

@ -949,8 +949,7 @@ void Modify::delete_fix(const char *id)
void Modify::delete_fix(int ifix)
{
if(fix[ifix])
delete fix[ifix];
if (fix[ifix]) delete fix[ifix];
atom->update_callback(ifix);
// move other Fixes and fmask down in list one slot