make fully compatible with gcc -ansi

This commit is contained in:
Axel Kohlmeyer
2022-10-31 16:13:25 -04:00
parent 5d115fec90
commit 6068e9df5a
2 changed files with 5 additions and 5 deletions

View File

@ -134,7 +134,7 @@ int main(int narg, char **arg)
plugin->command(lmp,"run 1");
}
// extract force on single atom two different ways
/* extract force on single atom two different ways */
if (lammps == 1) {
double **f = (double **) plugin->extract_atom(lmp,"f");
@ -172,7 +172,7 @@ int main(int narg, char **arg)
if (v) free(v);
if (type) free(type);
// close down LAMMPS
/* close down LAMMPS */
if (lammps == 1) {
plugin->close(lmp);