Skip to content

Commit fa8591c

Browse files
committed
Pass OMPI_DISP_ARRAY_NULL to datatype_set_args
Signed-off-by: Joseph Schuchart <[email protected]>
1 parent a9b3084 commit fa8591c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mpi/c/type_contiguous.c.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ PROTOTYPE ERROR_CLASS type_contiguous(COUNT count,
6262
ompi_datatype_set_args( *newtype,
6363
(sizeof(count) == sizeof(size_t)) ? 0 : 1,
6464
(sizeof(count) == sizeof(size_t)) ? 1 : 0,
65-
a_i, 0, OMPI_COUNT_ARRAY_NULL, 1, &oldtype, MPI_COMBINER_CONTIGUOUS );
65+
a_i, 0, OMPI_DISP_ARRAY_NULL, 1, &oldtype, MPI_COMBINER_CONTIGUOUS );
6666
}
6767

6868
OMPI_ERRHANDLER_NOHANDLE_RETURN(rc, rc, FUNC_NAME );

0 commit comments

Comments
 (0)