enable and apply clang-format, remove redundant code, improve error message for EAM potential pair styles
This commit is contained in:
@ -821,7 +821,7 @@ void Pair::map_element2type(int narg, char **arg, bool update_setflag)
|
||||
// elements = list of element names
|
||||
|
||||
if (narg != ntypes)
|
||||
error->all(FLERR,"Number of element to type mappings does not match number of atom types");
|
||||
error->all(FLERR, "Number of element to type mappings does not match number of atom types");
|
||||
|
||||
if (elements) {
|
||||
for (i = 0; i < nelements; i++) delete[] elements[i];
|
||||
|
||||
Reference in New Issue
Block a user