1
1
This commit was SVN r22025.
Этот коммит содержится в:
George Bosilca 2009-09-28 17:28:01 +00:00
родитель 7145b95bd8
Коммит 163c64cb4d

Просмотреть файл

@ -201,8 +201,8 @@ ompi_datatype_duplicate( const ompi_datatype_t* oldType, ompi_datatype_t** newTy
return OMPI_ERR_OUT_OF_RESOURCE;
}
opal_datatype_clone ( &oldType->super, &new_ompi_datatype->super);
new_ompi_datatype->super.flags &= (~OMPI_DATATYPE_FLAG_PREDEFINED);
/* Strip the predefined flag at the OMPI level. */
new_ompi_datatype->super.flags &= ~OMPI_DATATYPE_FLAG_PREDEFINED;
/* Set the keyhash to NULL -- copying attributes is *only* done at
the top level (specifically, MPI_TYPE_DUP). */