Remove a bit of redundant code -- this is error condition is now
checked in the top-level API. This commit was SVN r19497.
Этот коммит содержится в:
родитель
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;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user