1
1

Check the count. It has to be a positive number.

This commit was SVN r12130.
Этот коммит содержится в:
George Bosilca 2006-10-17 02:40:17 +00:00
родитель 16e52c5784
Коммит 01f5b4007b

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

@ -34,12 +34,12 @@ static const char FUNC_NAME[] = "MPI_Get_count";
int MPI_Get_count(MPI_Status *status, MPI_Datatype datatype, int *count)
{
int size = 0;
int rc = MPI_SUCCESS;
int size = 0;
int rc = MPI_SUCCESS;
if (MPI_PARAM_CHECK) {
OMPI_ERR_INIT_FINALIZE(FUNC_NAME);
OMPI_CHECK_DATATYPE_FOR_RECV(rc, datatype, 1);
OMPI_CHECK_DATATYPE_FOR_RECV(rc, datatype, count);
OMPI_ERRHANDLER_CHECK(rc, MPI_COMM_WORLD, rc, FUNC_NAME);
}