Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
David's patch: replace != by strcmp
[simgrid.git] / src / surf / network_constant.c
index 5a0cbad..bf73baf 100644 (file)
@@ -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, netcste_get_link_latency);
 }