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
some more "fixes" for sonar
[simgrid.git]
/
src
/
smpi
/
smpi_pmpi.cpp
diff --git
a/src/smpi/smpi_pmpi.cpp
b/src/smpi/smpi_pmpi.cpp
index
83213f4
..
9fcc122
100644
(file)
--- a/
src/smpi/smpi_pmpi.cpp
+++ b/
src/smpi/smpi_pmpi.cpp
@@
-262,7
+262,7
@@
int PMPI_Op_create(MPI_User_function * function, int commute, MPI_Op * op)
if (function == NULL || op == NULL) {
retval = MPI_ERR_ARG;
} else {
- *op = smpi_op_new(function,
commute
);
+ *op = smpi_op_new(function,
(commute!=0)
);
retval = MPI_SUCCESS;
}
return retval;