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
Update copyright lines.
[simgrid.git]
/
src
/
smpi
/
colls
/
reduce
/
reduce-binomial.cpp
diff --git
a/src/smpi/colls/reduce/reduce-binomial.cpp
b/src/smpi/colls/reduce/reduce-binomial.cpp
index
a47f49a
..
01abf0c
100644
(file)
--- a/
src/smpi/colls/reduce/reduce-binomial.cpp
+++ b/
src/smpi/colls/reduce/reduce-binomial.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2013-20
19
. The SimGrid Team.
+/* Copyright (c) 2013-20
21
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-29,7
+29,7
@@
int reduce__binomial(const void *sendbuf, void *recvbuf, int count,
extent = datatype->get_extent();
unsigned char* tmp_buf = smpi_get_tmp_sendbuffer(count * extent);
extent = datatype->get_extent();
unsigned char* tmp_buf = smpi_get_tmp_sendbuffer(count * extent);
-
int is_commutative = (op==
MPI_OP_NULL || op->is_commutative());
+
bool is_commutative = (op ==
MPI_OP_NULL || op->is_commutative());
mask = 1;
int lroot;
mask = 1;
int lroot;