Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 6 Oct 2010 15:45:57 +0000 (15:45 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 6 Oct 2010 15:45:57 +0000 (15:45 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8367 48e7efb5-ca39-0410-a469-dd3cf9ba447f

teshsuite/simdag/platforms/basic_parsing_test.c

index e8f99bb..0bb7711 100644 (file)
@@ -61,11 +61,11 @@ if(argc == 3)
                        list_size = SD_workstation_get_number();
                        for(i = 0; i < list_size; i++)
                        {
+                               w1 = workstations[i];
+                               name1 = SD_workstation_get_name(w1);
                                for(j = 0 ; j < list_size; j++)
                                {
-                                                 w1 = workstations[i];
                                                  w2 = workstations[j];
-                                                 name1 = SD_workstation_get_name(w1);
                                                  name2 = SD_workstation_get_name(w2);
                                                  printf("Route between %s and %s\n", name1, name2);
                                                  route = SD_route_get_list(w1, w2);