X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6aff24ba47ceab30e29e122dc36c33995e6fc2dd..390ee57ed79bf7577c2bce6df6a25aba57ff476e:/src/surf/network_ib.cpp diff --git a/src/surf/network_ib.cpp b/src/surf/network_ib.cpp index 1d84616753..dce8789547 100644 --- a/src/surf/network_ib.cpp +++ b/src/surf/network_ib.cpp @@ -21,7 +21,7 @@ static void IB_create_host_callback(simgrid::s4u::Host& host){ static int id=0; // pour t->id -> rajouter une nouvelle struct dans le dict, pour stocker les comms actives if(((NetworkIBModel*)surf_network_model)->active_nodes==nullptr) - ((NetworkIBModel*)surf_network_model)->active_nodes=xbt_dict_new(); + ((NetworkIBModel*)surf_network_model)->active_nodes = xbt_dict_new_homogeneous(nullptr); IBNode* act = new IBNode(id);