Small optimization.
This commit was SVN r10226.
Этот коммит содержится в:
родитель
11bf138820
Коммит
7968bfedae
@ -29,7 +29,7 @@ int32_t ompi_ddt_create_struct( int count, const int* pBlockLength, const long*
|
||||
ompi_datatype_t *pdt, *lastType;
|
||||
|
||||
if( 0 == count ) {
|
||||
*newType = ompi_ddt_create( disp );
|
||||
*newType = ompi_ddt_create( 0 );
|
||||
ompi_ddt_add( *newType, &ompi_mpi_datatype_null, 0, 0, 0);
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user