1
1

On resize don't forget to update the true_lb and true_ub.

This commit was SVN r10288.
Этот коммит содержится в:
George Bosilca 2006-06-11 19:51:18 +00:00
родитель 8b8bf363c4
Коммит 791a1b1a7e

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

@ -111,5 +111,7 @@ int32_t ompi_ddt_create_resized( const ompi_datatype_t* oldType, long lb, long e
ompi_ddt_duplicate( oldType, newType ); ompi_ddt_duplicate( oldType, newType );
(*newType)->lb = lb; (*newType)->lb = lb;
(*newType)->ub = lb + extent; (*newType)->ub = lb + extent;
(*newType)->true_lb += lb;
(*newType)->true_ub += lb;
return OMPI_SUCCESS; return OMPI_SUCCESS;
} }