whitespace

This commit is contained in:
Axel Kohlmeyer
2023-11-23 16:19:43 -05:00
parent 961cbfbe10
commit dc32efe9be
2 changed files with 9 additions and 9 deletions

View File

@ -2694,7 +2694,7 @@ int Atom::add_custom(const char *name, int flag, int cols)
dcols = (int *) memory->srealloc(dcols,ndarray*sizeof(int),"atom:dcols");
dcols[index] = cols;
}
if (index < 0)
error->all(FLERR,"Invalid call to Atom::add_custom()");
return index;