diff --git a/ompi/communicator/comm.c b/ompi/communicator/comm.c index 3240f3db34635c6a0bf270b507389987e32fee03..c31a698b88e916b599e7438732f26d84ec9f6eac 100644 --- a/ompi/communicator/comm.c +++ b/ompi/communicator/comm.c @@ -785,7 +785,7 @@ static int ompi_comm_split_verify (ompi_communicator_t *comm, int split_type, in } for (int i = 0 ; i < size ; ++i) { - if (MPI_UNDEFINED == results[i * 2] || (i > 1 && results[i * 2 + 1] < results[i * 2 - 1])) { + if (MPI_UNDEFINED == results[i * 2] || (i >= 1 && results[i * 2 + 1] < results[i * 2 - 1])) { *need_split = true; break; }