use true/false instead of 1/0 detected and changed by clang-tidy
This commit is contained in:
@ -166,7 +166,7 @@ void ComputeAggregateAtom::compute_peratom()
|
||||
|
||||
int change,done,anychange;
|
||||
|
||||
while (1) {
|
||||
while (true) {
|
||||
comm->forward_comm_compute(this);
|
||||
|
||||
// reverse communication when bonds are not stored on every processor
|
||||
@ -175,7 +175,7 @@ void ComputeAggregateAtom::compute_peratom()
|
||||
comm->reverse_comm_compute(this);
|
||||
|
||||
change = 0;
|
||||
while (1) {
|
||||
while (true) {
|
||||
done = 1;
|
||||
for (i = 0; i < nlocal; i++) {
|
||||
if (!(mask[i] & groupbit)) continue;
|
||||
|
||||
Reference in New Issue
Block a user