Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sed -i -e 's/\t/ /g' *.[ch] Please people, stop using tabs in your source
[simgrid.git] / src / simix / smx_environment.c
index 0470527..76c1e32 100644 (file)
@@ -45,8 +45,8 @@ void SIMIX_create_environment(const char *file)
   XBT_DEBUG("PARSE TIME: %lg", (end - start));
 
   xbt_lib_foreach(host_lib, cursor, name, workstation) {
   XBT_DEBUG("PARSE TIME: %lg", (end - start));
 
   xbt_lib_foreach(host_lib, cursor, name, workstation) {
-         if(workstation[SURF_WKS_LEVEL])
-                 SIMIX_host_create(name, workstation[SURF_WKS_LEVEL], NULL);
+    if(workstation[SURF_WKS_LEVEL])
+      SIMIX_host_create(name, workstation[SURF_WKS_LEVEL], NULL);
   }
   surf_presolve();
 }
   }
   surf_presolve();
 }