浏览代码

Fix a typo

Cédric Augonnet 14 年之前
父节点
当前提交
d6bdf7f9ff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/perfmodel/perfmodel.c

+ 1 - 1
src/core/perfmodel/perfmodel.c

@@ -177,7 +177,7 @@ double starpu_task_expected_power(struct starpu_task *task, enum starpu_perf_arc
 double starpu_data_expected_transfer_time(starpu_data_handle handle, unsigned memory_node, starpu_access_mode mode)
 {
 	/* If we don't need to read the content of the handle */
-	if (!mode & STARPU_R)
+	if (!(mode & STARPU_R))
 		return 0.0;
 	
 	if (_starpu_is_data_present_or_requested(handle, memory_node))