소스 검색

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