* fix some silly typos to make things compile
This commit was SVN r351.
Этот коммит содержится в:
родитель
ea09ce2240
Коммит
f91445c681
@ -16,7 +16,7 @@ MPI_Type_create_indexed_block(int count,
|
||||
int blocklength,
|
||||
int array_of_displacements[],
|
||||
MPI_Datatype oldtype,
|
||||
MPI_datatype *newtype)
|
||||
MPI_Datatype *newtype)
|
||||
{
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ MPI_Type_hindexed(int count,
|
||||
{
|
||||
return MPI_Type_create_hindexed(count,
|
||||
array_of_blocklengths,
|
||||
array_of_displacelments,
|
||||
array_of_displacements,
|
||||
oldtype,
|
||||
newtype);
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
int
|
||||
MPI_Type_indexed(int count,
|
||||
int array_of_blocklengths[],
|
||||
int *array_of_displacements[],
|
||||
int array_of_displacements[],
|
||||
MPI_Datatype oldtype,
|
||||
MPI_Datatype *newtype)
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ MPI_Type_ub(MPI_Datatype mtype, MPI_Aint *ub)
|
||||
MPI_Aint extent;
|
||||
int status;
|
||||
|
||||
status = MPI_Type_get_extent(type, &lb, &extent);
|
||||
status = MPI_Type_get_extent(mtype, &lb, &extent);
|
||||
if (MPI_SUCCESS == status) {
|
||||
*ub = lb + extent;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user