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
Revert "[SMPI] Fix wrong return value in MPI_Testany."
[simgrid.git]
/
src
/
smpi
/
smpi_base.cpp
diff --git
a/src/smpi/smpi_base.cpp
b/src/smpi/smpi_base.cpp
index
ccc85cd
..
011c539
100644
(file)
--- a/
src/smpi/smpi_base.cpp
+++ b/
src/smpi/smpi_base.cpp
@@
-805,7
+805,8
@@
int smpi_mpi_testany(int count, MPI_Request requests[], int *index, MPI_Status *
nsleeps++;
}
} else {
nsleeps++;
}
} else {
- flag = 0; // all requests are null or inactive, return false
+ //all requests are null or inactive, return true
+ flag = 1;
smpi_empty_status(status);
}
xbt_dynar_free(&comms);
smpi_empty_status(status);
}
xbt_dynar_free(&comms);