X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6d42f087b6455decd2eb71db29d38d6909fd6165..e469954c6c50ca3d594303279359b5f9fb1411eb:/src/simix/smx_environment.c diff --git a/src/simix/smx_environment.c b/src/simix/smx_environment.c index 1198f5a830..953e02161b 100644 --- a/src/simix/smx_environment.c +++ b/src/simix/smx_environment.c @@ -50,8 +50,7 @@ void SIMIX_create_environment(const char *file) DEBUG1("Model : %s", workstation_model_name); workstation_id = find_model_description(surf_workstation_model_description, - surf_workstation_model_description_size, - workstation_model_name); + workstation_model_name); if (!strcmp(workstation_model_name, "compound")) { xbt_ex_t e; char *network_model_name = NULL; @@ -87,12 +86,10 @@ void SIMIX_create_environment(const char *file) network_id = find_model_description(surf_network_model_description, - surf_network_model_description_size, - network_model_name); + network_model_name); cpu_id = find_model_description(surf_cpu_model_description, - surf_cpu_model_description_size, - cpu_model_name); + cpu_model_name); surf_cpu_model_description[cpu_id].model_init(file); surf_network_model_description[network_id].model_init(file);