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
Fix bug, MPI_Recv timings for small messages were actually ignored
[simgrid.git]
/
src
/
smpi
/
smpi_group.cpp
diff --git
a/src/smpi/smpi_group.cpp
b/src/smpi/smpi_group.cpp
index
36e94c0
..
119b8bb
100644
(file)
--- a/
src/smpi/smpi_group.cpp
+++ b/
src/smpi/smpi_group.cpp
@@
-113,7
+113,7
@@
int smpi_group_rank(MPI_Group group, int index)
ptr_rank = static_cast<int*>(xbt_dict_get_or_null(group->index_to_rank_map, key));
xbt_free(key);
- if (
!ptr_rank
)
+ if (
ptr_rank==NULL
)
return MPI_UNDEFINED;
return *ptr_rank;
}