use true/false instead of 1/0 detected and changed by clang-tidy
This commit is contained in:
@ -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];
|
||||
|
||||
Reference in New Issue
Block a user