Skip to content

Commit

Permalink
minor syntax fix up
Browse files Browse the repository at this point in the history
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
  • Loading branch information
hppritcha committed Aug 3, 2021
1 parent e1192f5 commit 5b945fb
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
5 changes: 3 additions & 2 deletions ompi/mpi/c/testall.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ int MPI_Testall(int count, MPI_Request requests[], int *flag,
rc = MPI_ERR_REQUEST;
break;
}
if (requests[i] == &ompi_request_empty) continue;
else if (check_req == NULL) {
if (requests[i] == &ompi_request_empty) {
continue;
} else if (check_req == NULL) {
check_req = requests[i];
}
else {
Expand Down
5 changes: 3 additions & 2 deletions ompi/mpi/c/testany.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ int MPI_Testany(int count, MPI_Request requests[], int *indx, int *completed, MP
rc = MPI_ERR_REQUEST;
break;
}
if (requests[i] == &ompi_request_empty) continue;
else if (check_req == NULL) {
if (requests[i] == &ompi_request_empty) {
continue;
} else if (check_req == NULL) {
check_req = requests[i];
}
else {
Expand Down
5 changes: 3 additions & 2 deletions ompi/mpi/c/testsome.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ int MPI_Testsome(int incount, MPI_Request requests[],
rc = MPI_ERR_REQUEST;
break;
}
if (requests[indx] == &ompi_request_empty) continue;
else if (check_req == NULL) {
if (requests[indx] == &ompi_request_empty) {
continue;
} else if (check_req == NULL) {
check_req = requests[indx];
}
else {
Expand Down
5 changes: 3 additions & 2 deletions ompi/mpi/c/waitall.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ int MPI_Waitall(int count, MPI_Request requests[], MPI_Status statuses[])
rc = MPI_ERR_REQUEST;
break;
}
if (requests[i] == &ompi_request_empty) continue;
else if (check_req == NULL) {
if (requests[i] == &ompi_request_empty) {
continue;
} else if (check_req == NULL) {
check_req = requests[i];
}
else {
Expand Down
5 changes: 3 additions & 2 deletions ompi/mpi/c/waitany.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ int MPI_Waitany(int count, MPI_Request requests[], int *indx, MPI_Status *status
rc = MPI_ERR_REQUEST;
break;
}
if (requests[i] == &ompi_request_empty) continue;
else if (check_req == NULL) {
if (requests[i] == &ompi_request_empty) {
continue;
} else if (check_req == NULL) {
check_req = requests[i];
}
else {
Expand Down
5 changes: 3 additions & 2 deletions ompi/mpi/c/waitsome.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ int MPI_Waitsome(int incount, MPI_Request requests[],
rc = MPI_ERR_REQUEST;
break;
}
if (requests[indx] == &ompi_request_empty) continue;
else if (check_req == NULL) {
if (requests[indx] == &ompi_request_empty) {
continue;
} else if (check_req == NULL) {
check_req = requests[indx];
}
else {
Expand Down

0 comments on commit 5b945fb

Please sign in to comment.