瀏覽代碼

Bug fixed in bundle data transfer calculation.

Duplicates are not allowed anymore, as it should be.
Nicolas Collin 13 年之前
父節點
當前提交
1fb91e1629
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/task_bundle.c

+ 1 - 1
src/core/task_bundle.c

@@ -262,7 +262,7 @@ static void insertion_handle_sorted(struct handle_list **listp, starpu_data_hand
 	/* Look for the element or a place to insert it. */
 	struct handle_list *prev = list;
 
-	while (list && (handle > list->handle))
+	while (list && (handle >= list->handle))
 	{
 		prev = list;
 		list = list->next;