Skip to content

Commit 6f28a18

Browse files
authored
Merge pull request #7444 from tjahns/master
Fix incorrect argument in manual page.
2 parents 3bf1ba5 + 8ecbe1c commit 6f28a18

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ompi/mpi/man/man3/MPI_Type_create_indexed_block.3in

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <mpi.h>
1616
int MPI_Type_create_indexed_block(int \fIcount\fP, int \fIblocklength\fP, const int \fIarray_of_displacements\fP[], MPI_Datatype \fIoldtype\fP, MPI_Datatype *\fInewtype\fP)
1717

18-
int MPI_Type_create_hindexed_block(int \fIcount\fP, int \fIblocklength\fP, const int \fIarray_of_displacements\fP[], MPI_Datatype \fIoldtype\fP, MPI_Datatype *\fInewtype\fP)
18+
int MPI_Type_create_hindexed_block(int \fIcount\fP, int \fIblocklength\fP, const MPI_Aint \fIarray_of_displacements\fP[], MPI_Datatype \fIoldtype\fP, MPI_Datatype *\fInewtype\fP)
1919

2020
.fi
2121
.SH Fortran Syntax
@@ -29,8 +29,9 @@ MPI_TYPE_CREATE_INDEXED_BLOCK(\fICOUNT, BLOCKLENGTH,
2929

3030
MPI_TYPE_CREATE_HINDEXED_BLOCK(\fICOUNT, BLOCKLENGTH,
3131
ARRAY_OF_DISPLACEMENTS, OLDTYPE, NEWTYPE, IERROR\fP)
32-
INTEGER \fICOUNT, BLOCKLENGTH, ARRAY_OF_DISPLACEMENTS(*),
33-
OLDTYPE, NEWTYPE, IERROR \fP
32+
INTEGER \fICOUNT, BLOCKLENGTH, OLDTYPE, NEWTYPE\fP
33+
INTEGER(KIND=MPI_ADDRESS_KIND) \fIARRAY_OF_DISPLACEMENTS(*)\fP
34+
INTEGER \fIIERROR\fP
3435

3536
.fi
3637
.SH Fortran 2008 Syntax

0 commit comments

Comments
 (0)