Skip to content

Commit f8ecdbd

Browse files
committed
java: replace deprecated hindexed call
Signed-off-by: Karol Mroz <[email protected]>
1 parent 5c54184 commit f8ecdbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mpi/java/c/mpi_Datatype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ JNIEXPORT jlong JNICALL Java_mpi_Datatype_getHIndexed(
226226
for(i = 0; i < count; i++)
227227
cDisps[i] = jDisps[i];
228228

229-
int rc = MPI_Type_hindexed(count, cBlockLengths, cDisps,
229+
int rc = MPI_Type_create_hindexed(count, cBlockLengths, cDisps,
230230
(MPI_Datatype)oldType, &type);
231231

232232
ompi_java_exceptionCheck(env, rc);

0 commit comments

Comments
 (0)