We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ddf3cc + 5a4adb8 commit 97c1643Copy full SHA for 97c1643
ompi/request/req_wait.c
@@ -125,7 +125,7 @@ int ompi_request_default_wait_any(size_t count,
125
after_sync_wait:
126
/* recheck the complete status and clean up the sync primitives. Do it backward to
127
* return the earliest complete request to the user. */
128
- for(i = completed-1; i >= 0; i--) {
+ for(i = completed-1; (i+1) > 0; i--) {
129
request = requests[i];
130
131
if( request->req_state == OMPI_REQUEST_INACTIVE ) {
0 commit comments