On resize don't forget to update the true_lb and true_ub.
This commit was SVN r10288.
Этот коммит содержится в:
родитель
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 );
|
||||
(*newType)->lb = lb;
|
||||
(*newType)->ub = lb + extent;
|
||||
(*newType)->true_lb += lb;
|
||||
(*newType)->true_ub += lb;
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user