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 de57552 + 778bb6e commit 11ffb66Copy full SHA for 11ffb66
ompi/win/win.h
@@ -162,7 +162,7 @@ static inline int ompi_win_invalid(ompi_win_t *win) {
162
}
163
164
static inline int ompi_win_peer_invalid(ompi_win_t *win, int peer) {
165
- if (win->w_group->grp_proc_count <= peer) return true;
+ if (win->w_group->grp_proc_count <= peer || peer < 0) return true;
166
return false;
167
168
0 commit comments