Procházet zdrojové kódy

Add missing tag removal

Samuel Thibault před 13 roky
rodič
revize
4965ff2259
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      examples/tag_example/tag_example4.c

+ 1 - 1
examples/tag_example/tag_example4.c

@@ -136,7 +136,7 @@ int main(int argc __attribute__((unused)) , char **argv __attribute__((unused)))
 	for (i = 1; i < ni; i++)
 	{
 		starpu_tag_remove(TAG(0, i));
-		for (j = 1; j < i; j++)
+		for (j = 0; j < i; j++)
 			starpu_tag_remove(TAG(j, i));
 	}