X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/15b53976795c991e0b54e8cb671a9cfb96fb20bc..36fa571a13985879dc627c70ecc2340af606aa42:/src/smpi/smpi_coll.cpp diff --git a/src/smpi/smpi_coll.cpp b/src/smpi/smpi_coll.cpp index 26b1f4704c..e6fae05f0e 100644 --- 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 - name=const_cast("default"); for (int i = 0; table[i].name; i++) - if (!strcmp(name, table[i].name)) { + if (!strcmp("default", table[i].name)) { return i; } }