Commit 019ff29d authored by Shane Snyder's avatar Shane Snyder
Browse files

bug fix in swim random member selection

parent c11bc25c
......@@ -426,6 +426,9 @@ static int swim_get_rand_group_member_set(ssg_t s, int *member_ranks,
int rand_member;
int avail_members = s->view.group_size - 1;
if(num_members == 0)
return(0);
if(excluded_rank != SSG_MEMBER_RANK_UNKNOWN)
avail_members--;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment