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
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
smpi
/
smpi_coll.cpp
diff --git
a/src/smpi/smpi_coll.cpp
b/src/smpi/smpi_coll.cpp
index
26b1f47
..
e6fae05
100644
(file)
--- a/
src/smpi/smpi_coll.cpp
+++ b/
src/smpi/smpi_coll.cpp
@@
-91,9
+91,8
@@
int find_coll_description(s_mpi_coll_description_t * table, char *name, const ch
if(selector_on){
// collective seems not handled by the active selector, try with default one
if(selector_on){
// collective seems not handled by the active selector, try with default one
- name=const_cast<char*>("default");
for (int i = 0; table[i].name; i++)
for (int i = 0; table[i].name; i++)
- if (!strcmp(
name
, table[i].name)) {
+ if (!strcmp(
"default"
, table[i].name)) {
return i;
}
}
return i;
}
}