Skip to content
Snippets Groups Projects
Commit 3237d219 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10966 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 661c056c
No related branches found
No related tags found
No related merge requests found
...@@ -1433,7 +1433,7 @@ void Atom::delete_callback(const char *id, int flag) ...@@ -1433,7 +1433,7 @@ void Atom::delete_callback(const char *id, int flag)
int match; int match;
for (match = 0; match < nextra_restart; match++) for (match = 0; match < nextra_restart; match++)
if (extra_restart[match] == ifix) break; if (extra_restart[match] == ifix) break;
for (int i = ifix; i < nextra_restart-1; i++) for (int i = match; i < nextra_restart-1; i++)
extra_restart[i] = extra_restart[i+1]; extra_restart[i] = extra_restart[i+1];
nextra_restart--; nextra_restart--;
...@@ -1441,7 +1441,7 @@ void Atom::delete_callback(const char *id, int flag) ...@@ -1441,7 +1441,7 @@ void Atom::delete_callback(const char *id, int flag)
int match; int match;
for (match = 0; match < nextra_border; match++) for (match = 0; match < nextra_border; match++)
if (extra_border[match] == ifix) break; if (extra_border[match] == ifix) break;
for (int i = ifix; i < nextra_border-1; i++) for (int i = match; i < nextra_border-1; i++)
extra_border[i] = extra_border[i+1]; extra_border[i] = extra_border[i+1];
nextra_border--; nextra_border--;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment