Skip to content

Commit ad39412

Browse files
Fix assertion for 1-rank test case
1 parent cb40abc commit ad39412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fenix_data_policy_in_memory_raid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ Group::Group(
630630

631631
//my_rank should be one of the inserted ranks, or something in the
632632
//logic here is broken.
633-
assert(partner_set.size() == 3);
633+
assert(partner_set.size() == 3 || (comm_size==1 && partner_set.size()==1));
634634
}
635635
} else if(mode == 5){
636636
set_size = policy_vals[2];

0 commit comments

Comments
 (0)