1
1

* adjust the buffer position on predefined datatypes as well as user

datatypes when creating from a buffer.

This commit was SVN r8917.
Этот коммит содержится в:
Brian Barrett 2006-02-07 12:14:41 +00:00
родитель 3bb2eadfaa
Коммит e0a814d3a7

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

@ -347,6 +347,7 @@ ompi_ddt_create_from_packed_description( void** packed_buffer,
if( MPI_COMBINER_DUP == create_type ) {
/* there we have a simple predefined datatype */
assert( position[1] < DT_MAX_PREDEFINED );
*packed_buffer = position + 2;
return (ompi_datatype_t*)ompi_ddt_basicDatatypes[position[1]];
}
number_of_length = position[1];