ソースを参照

wont_use: be coherent with the for loop

Samuel Thibault 4 年 前
コミット
9b05d3421c
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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++)