Explorar o código

wont_use: be coherent with the for loop

Samuel Thibault %!s(int64=4) %!d(string=hai) anos
pai
achega
9b05d3421c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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++)