浏览代码

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++)