Samuel Thibault %!s(int64=14) %!d(string=hai) anos
pai
achega
678bad1d12
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/heat/dw_sparse_cg.c

+ 1 - 1
examples/heat/dw_sparse_cg.c

@@ -22,7 +22,7 @@
 
 static struct starpu_task *create_task(starpu_tag_t id)
 {
-	starpu_codelet *cl = calloc(sizeof(starpu_codelet));
+	starpu_codelet *cl = calloc(1,sizeof(starpu_codelet));
 
 	struct starpu_task *task = starpu_task_create();
 		task->cl = cl;