use true/false instead of 1/0 detected and changed by clang-tidy

This commit is contained in:
Axel Kohlmeyer
2021-10-20 12:41:02 -04:00
parent 84666543d1
commit 85433e8bd1
65 changed files with 130 additions and 130 deletions

View File

@ -1884,7 +1884,7 @@ void CommTiled::box_drop_brick(int idim, double *lo, double *hi, int &indexme)
if (index < 0 || index > procgrid[idim])
error->one(FLERR,"Comm tiled invalid index in box drop brick");
while (1) {
while (true) {
lower = boxlo[idim] + prd[idim]*split[index];
if (index < procgrid[idim]-1)
upper = boxlo[idim] + prd[idim]*split[index+1];