Parcourir la source

fix storing -EINVAL in node

Samuel Thibault il y a 13 ans
Parent
commit
01a13ebe1a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/core/perfmodel/perfmodel.c

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

@@ -225,7 +225,7 @@ double starpu_task_expected_conversion_time(struct starpu_task *task,
 	unsigned i;
 	int err;
 	double sum = 0.0;
-	unsigned int node, cpu_node;
+	int node, cpu_node;
 
 	/* We need to get one node per archtype. This is kinda ugly,
 	 * but it does the job.