Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use the whole set, not missing the last element. Patch by FS
[simgrid.git] / src / surf / surfxml_parse.c
index fc71eeb..7698853 100644 (file)
@@ -601,7 +601,7 @@ void parse_sets(void)
   current_set = xbt_dynar_new(sizeof(char*), NULL);
 
   
-  for (i=start; i<end; i++) {
+  for (i=start; i<=end; i++) {
      value = bprintf("%s%d%s", prefix, i, suffix);
      xbt_dynar_push(current_set, &value);
   }