silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2021-04-23 15:51:16 -04:00
parent 8541b0da3e
commit fe063b27c7
11 changed files with 21 additions and 26 deletions

View File

@ -302,7 +302,7 @@ void FixAdapt::init()
// allow a dynamic group only if ATOM attribute not used
if (group->dynamic[igroup])
for (int i = 0; i < nadapt; i++)
for (i = 0; i < nadapt; i++)
if (adapt[i].which == ATOM)
error->all(FLERR,"Cannot use dynamic group with fix adapt atom");