Skip to content

Commit 45a7445

Browse files
authored
Merge pull request #10277 from bosilca/fix/ulong_max
Correctly handle MPI_UNSIGNED_LONG.
2 parents ab812d4 + 8912ef9 commit 45a7445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/datatype/ompi_datatype_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ const ompi_datatype_t* ompi_datatype_basicDatatypes[OMPI_DATATYPE_MPI_MAX_PREDEF
374374
[OMPI_DATATYPE_MPI_UB] = &ompi_mpi_ub.dt,
375375

376376
[OMPI_DATATYPE_MPI_LONG] = &ompi_mpi_long.dt,
377-
[OMPI_DATATYPE_MPI_UNSIGNED_LONG] = &ompi_mpi_long.dt,
377+
[OMPI_DATATYPE_MPI_UNSIGNED_LONG] = &ompi_mpi_unsigned_long.dt,
378378
/* MPI 3.0 types */
379379
[OMPI_DATATYPE_MPI_COUNT] = &ompi_mpi_count.dt,
380380

0 commit comments

Comments
 (0)