Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Finally succeed to bring back all the needed information from SURF to
[simgrid.git] / src / surf / network.c
index 2eee39ca3da02fb960609db125ac79fd578ed503..04c576314d838ec225ae2ac7e11d3a4defff3fc5 100644 (file)
@@ -736,7 +736,7 @@ static void set_update_mechanism(void)
 {
   char *optim = xbt_cfg_get_string(_sg_cfg_set, "network/optim");
   int select =
-      xbt_cfg_get_int(_sg_cfg_set, "network/maxmin_selective_update");
+      xbt_cfg_get_boolean(_sg_cfg_set, "network/maxmin_selective_update");
 
   if (!strcmp(optim, "Full")) {
     surf_network_model->model_private->update_mechanism = UM_FULL;