X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7da2926d0733ff0683f31aeea176ce71e127264f..2f531aa69f09fed380e2e212df5822874aab5e58:/src/surf/network_constant.cpp diff --git a/src/surf/network_constant.cpp b/src/surf/network_constant.cpp index 3421c67663..609b2de12f 100644 --- a/src/surf/network_constant.cpp +++ b/src/surf/network_constant.cpp @@ -32,7 +32,7 @@ void surf_network_model_init_Constant() sg_platf_link_add_cb(netcste_parse_nolink); Model *model = surf_network_model; - xbt_dynar_push(model_list, &model); + xbt_dynar_push(all_existing_models, &model); } double NetworkConstantModel::shareResources(double /*now*/)