A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'master' and 'master' of github.com:simgrid/simgrid
[simgrid.git]
/
src
/
smpi
/
colls
/
allgather
/
allgather-ompi-neighborexchange.cpp
diff --git
a/src/smpi/colls/allgather/allgather-ompi-neighborexchange.cpp
b/src/smpi/colls/allgather/allgather-ompi-neighborexchange.cpp
index
8f4d2a9
..
cb350c6
100644
(file)
--- a/
src/smpi/colls/allgather/allgather-ompi-neighborexchange.cpp
+++ b/
src/smpi/colls/allgather/allgather-ompi-neighborexchange.cpp
@@
-115,7
+115,7
@@
Coll_allgather_ompi_neighborexchange::allgather(void *sbuf, int scount,
}
/* Determine neighbors, order in which blocks will arrive, etc. */
- even_rank =
!
(rank % 2);
+ even_rank =
not
(rank % 2);
if (even_rank) {
neighbor[0] = (rank + 1) % size;
neighbor[1] = (rank - 1 + size) % size;