1
1

- add parameter checks for standard compliance

This commit was SVN r11610.
Этот коммит содержится в:
Sven Stork 2006-09-11 10:23:35 +00:00
родитель fa17445384
Коммит 72bf1e4a25

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

@ -55,6 +55,8 @@ int MPI_Win_create(void *base, MPI_Aint size, int disp_unit,
} else if (NULL == win) { } else if (NULL == win) {
return OMPI_ERRHANDLER_INVOKE(comm, MPI_ERR_WIN, FUNC_NAME); return OMPI_ERRHANDLER_INVOKE(comm, MPI_ERR_WIN, FUNC_NAME);
} else if ( (size < 0) || (disp_unit <= 0) ) {
return OMPI_ERRHANDLER_INVOKE(comm, MPI_ERR_WIN, FUNC_NAME);
} }
} }