diff --git a/src/compute_chunk_atom.cpp b/src/compute_chunk_atom.cpp index 5b3b4526af..62dcea023d 100644 --- a/src/compute_chunk_atom.cpp +++ b/src/compute_chunk_atom.cpp @@ -499,7 +499,7 @@ void ComputeChunkAtom::init() } if ((idsflag != ONCE && !lockcount) && fixstore) { - delete fixstore; + modify->delete_fix(id_fix); fixstore = NULL; } }