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
Cosmetics.
[simgrid.git]
/
src
/
smpi
/
mpi
/
smpi_op.cpp
diff --git
a/src/smpi/mpi/smpi_op.cpp
b/src/smpi/mpi/smpi_op.cpp
index
3ae327d
..
a94b2ff
100644
(file)
--- a/
src/smpi/mpi/smpi_op.cpp
+++ b/
src/smpi/mpi/smpi_op.cpp
@@
-270,7
+270,7
@@
void Op::ref(){
void Op::unref(MPI_Op* op){
if((*op)!=MPI_OP_NULL){
(*op)->refcount_--;
void Op::unref(MPI_Op* op){
if((*op)!=MPI_OP_NULL){
(*op)->refcount_--;
- if
((*op)->refcount_==0 && (*op)->predefined_==false
)
+ if
((*op)->refcount_ == 0 && not (*op)->predefined_
)
delete(*op);
}
}
delete(*op);
}
}