X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2c8e75834bbb63acef15c560c3de978ab3cb6fbf..5c883f36294946e34ab8349ea4be2dedbd31bb3c:/src/surf/workstation.c diff --git a/src/surf/workstation.c b/src/surf/workstation.c index 4363239a5c..b104f008d9 100644 --- a/src/surf/workstation.c +++ b/src/surf/workstation.c @@ -44,8 +44,9 @@ void create_workstations(void) xbt_dict_foreach(surf_model_resource_set(surf_cpu_model), cursor, name, cpu) { int *id = NULL; - if (used_routing && used_routing->host_id) - id = xbt_dict_get_or_null(used_routing->host_id,name); +// COMMENTED BY DAVID +// if (used_routing && used_routing->host_id) +// id = xbt_dict_get_or_null(used_routing->host_id,name); workstation_new(name, cpu, id ? *id : 0); }