1
1

Remove a bit of redundant code -- this is error condition is now

checked in the top-level API.

This commit was SVN r19497.
Этот коммит содержится в:
Jeff Squyres 2008-09-04 22:24:59 +00:00
родитель 10b4664e9c
Коммит 35c5863739

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

@ -68,9 +68,6 @@ int mca_topo_base_cart_rank (MPI_Comm comm,
coord(i) < dim, then normalize it. If the dimension is not coord(i) < dim, then normalize it. If the dimension is not
periodic, it's an error. */ periodic, it's an error. */
if ((ord < 0) || (ord >= dim)) { if ((ord < 0) || (ord >= dim)) {
if (!*p) {
return MPI_ERR_ARG;
}
ord %= dim; ord %= dim;
if (ord < 0) { if (ord < 0) {
ord += dim; ord += dim;