Skip to content

Commit

Permalink
Merge pull request pmodels#6597 from hzhou/2307_ch4_prog
Browse files Browse the repository at this point in the history
ch4: fix vci range check in progress

No reviewers.
  • Loading branch information
hzhou authored Jul 19, 2023
2 parents 229b9a9 + 65224b5 commit 98b84c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpid/ch4/src/ch4_progress.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_progress_test(MPID_Progress_state * state)
} else {
for (int i = 0; i < state->vci_count; i++) {
int vci = state->vci[i];
if (vci >= MPIDI_global.n_vcis) {
if (vci >= MPIDI_global.n_total_vcis) {
continue;
}
MPIDI_PROGRESS(vci);
Expand Down

0 comments on commit 98b84c4

Please sign in to comment.