Procházet zdrojové kódy

wont_use: be coherent with the for loop

Samuel Thibault před 4 roky
rodič
revize
9b05d3421c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/datawizard/user_interactions.c

+ 1 - 1
src/datawizard/user_interactions.c

@@ -698,7 +698,7 @@ void starpu_data_wont_use(starpu_data_handle_t handle)
 		return;
 	}
 
-	if (handle->nactive_readonly_children != 0)
+	if (handle->partitioned != 0)
 	{
 		unsigned i;
 		for(i=0 ; i<handle->partitioned; i++)