X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e277edb307cb9e5c14257037c310fc495a8a5458..1973cb8a42030c3663609c111d4acf5eb519d8f1:/src/simgrid/sg_config.cpp diff --git a/src/simgrid/sg_config.cpp b/src/simgrid/sg_config.cpp index 3f973e3331..a56881ac7f 100644 --- a/src/simgrid/sg_config.cpp +++ b/src/simgrid/sg_config.cpp @@ -347,10 +347,8 @@ static void _sg_cfg_cb__surf_network_coordinates(const char *name) static int already_set = 0; int val = xbt_cfg_get_boolean(name); if (val) { - if (!already_set) { - COORD_HOST_LEVEL = sg_host_extension_create(xbt_dynar_free_voidp); + if (!already_set) COORD_ASR_LEVEL = xbt_lib_add_level(as_router_lib,xbt_dynar_free_voidp); - } already_set = 1; } else if (already_set)