Skip to content

Commit b2804af

Browse files
committed
Merge pull request #131 from sourceryinstitute/comment-syncimages_duplicates
Adding comment for duplicates check in sync images
2 parents e8927d6 + 3611ecf commit b2804af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mpi/mpi_caf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,6 +1611,7 @@ PREFIX (sync_images) (int count, int images[], int *stat, char *errmsg,
16111611
return;
16121612
}
16131613

1614+
/* halt execution if sync images contains duplicate image numbers */
16141615
for(i=0;i<count;i++)
16151616
for(j=0;j<i;j++)
16161617
if(images[i] == images[j])

0 commit comments

Comments
 (0)