Skip to content

Commit f47908f

Browse files
authored
Merge pull request #7614 from raffenet/multi-leads-fix
ch4/coll: Fix typo in multi-leader comm construction Approved-by: Hui Zhou <[email protected]>
2 parents 834f73d + 35c8100 commit f47908f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpid/ch4/src/ch4_comm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ int MPIDI_Comm_create_multi_leaders(MPIR_Comm * comm)
705705
/* balanced and node-consecutive */
706706
MPIR_Assert(comm->local_size == num_local * num_external);
707707
MPIR_Assert(local_rank == comm->rank % num_local);
708-
MPIR_Assert(external_rank = comm->rank / num_local);
708+
MPIR_Assert(external_rank == comm->rank / num_local);
709709

710710
int *external_procs;
711711
MPIR_CHKLMEM_MALLOC(external_procs, num_external * sizeof(int));

0 commit comments

Comments
 (0)