one more batch of clang-tidy fixes

This commit is contained in:
Axel Kohlmeyer
2022-05-13 23:21:14 -04:00
parent 940e88d2ca
commit 90797d53d9
15 changed files with 62 additions and 62 deletions

View File

@ -40,7 +40,7 @@ RegCone::RegCone(LAMMPS *lmp, int narg, char **arg) :
if (openflag && (open_faces[3] || open_faces[4] || open_faces[5]))
error->all(FLERR,"Invalid region cone open setting");
if (strcmp(arg[2],"x") && strcmp(arg[2],"y") && strcmp(arg[2],"z"))
if (strcmp(arg[2],"x") != 0 && strcmp(arg[2],"y") && strcmp(arg[2],"z") != 0)
error->all(FLERR,"Illegal region cylinder command");
axis = arg[2][0];