Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Initial structure. Nothing works yet.
[simgrid.git] / src / msg / environment.c
index ff07d04..07fccf2 100644 (file)
@@ -73,7 +73,8 @@ void MSG_create_environment(const char *file) {
   DEBUG1("Model : %s", workstation_model_name);
   if (!strcmp(workstation_model_name,"KCCFLN05")) {
     surf_workstation_resource_init_KCCFLN05(file);
-  if (!strcmp(workstation_model_name,"KCCFLN05_proportionnal")) {
+  }
+  else if (!strcmp(workstation_model_name,"KCCFLN05_proportionnal")) {
     surf_workstation_resource_init_KCCFLN05_proportionnal(file);
   } else if (!strcmp(workstation_model_name,"CLM03")) {
     surf_workstation_resource_init_CLM03(file);