Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Give simgrid's host its own header file and datatype
[simgrid.git] / src / msg / msg_task.c
index c6055c59164fb97b1ca2356a95aa5e6d7b6fd9f3..16a7fe59a1192ec34fe625d0aefc44339d57f690 100644 (file)
@@ -107,7 +107,7 @@ MSG_parallel_task_create(const char *name, int host_nb,
 
   /* Simulator Data specific to parallel tasks */
   simdata->host_nb = host_nb;
-  simdata->host_list = xbt_new0(smx_host_t, host_nb);
+  simdata->host_list = xbt_new0(sg_host_t, host_nb);
   simdata->flops_parallel_amount = flops_amount;
   simdata->bytes_parallel_amount = bytes_amount;