X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a4ead5dcec77e6ab5d150ad4d38bd48cc2e41f08..919edbcd087b9ad979957ea49c05d1453bab8e69:/src/surf/network_constant.c diff --git a/src/surf/network_constant.c b/src/surf/network_constant.c index 5a0cbad452..b76ff47863 100644 --- a/src/surf/network_constant.c +++ b/src/surf/network_constant.c @@ -230,5 +230,5 @@ void surf_network_model_init_Constant(const char *filename) "Constant", surf_network_model); xbt_cfg_set_string(_surf_cfg_set, "routing", "none"); - routing_model_create(sizeof(double), NULL); + routing_model_create(sizeof(double), NULL, (double_f_pvoid_t)netcste_get_link_latency); }