Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use xbt_lib_length instead of xbt_lib_size.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 14 Nov 2011 10:23:25 +0000 (11:23 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 14 Nov 2011 12:18:37 +0000 (13:18 +0100)
teshsuite/simdag/platforms/is_router_test.c

index 443d6e3..d9dcd42 100644 (file)
@@ -22,7 +22,7 @@ int main(int argc, char **argv)
   /* creation of the environment */
   SD_create_environment(argv[1]);
 
-  size = xbt_lib_size(host_lib) + xbt_lib_size(as_router_lib);
+  size = xbt_lib_length(host_lib) + xbt_lib_length(as_router_lib);
 
   printf("Workstation number: %d, link number: %d, elmts number: %d\n",
          SD_workstation_get_number(), SD_link_get_number(), size);