fix the handling of the 'high' argument in Intercomm_merge. The logic
was unfortunatly exactly the opposite way round. This commit was SVN r9803.
Этот коммит содержится в:
родитель
6db0f2a027
Коммит
f962ba2d89
@ -1031,10 +1031,10 @@ int ompi_comm_determine_first ( ompi_communicator_t *intercomm, int high )
|
|||||||
|
|
||||||
/* This is the logic for determining who is first, who is second */
|
/* This is the logic for determining who is first, who is second */
|
||||||
if ( high && !rhigh ) {
|
if ( high && !rhigh ) {
|
||||||
flag = true;
|
flag = false;
|
||||||
}
|
}
|
||||||
else if ( !high && rhigh ) {
|
else if ( !high && rhigh ) {
|
||||||
flag = false;
|
flag = true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ourproc = intercomm->c_local_group->grp_proc_pointers[0];
|
ourproc = intercomm->c_local_group->grp_proc_pointers[0];
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user