From d686f0e96a0287118f5afc357dff3e0c1a969c2f Mon Sep 17 00:00:00 2001 From: coldpeace Date: Thu, 18 Mar 2010 16:29:03 +0000 Subject: [PATCH] git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7272 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/bindings/rubyDag/rb_SD_task.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/bindings/rubyDag/rb_SD_task.c b/src/bindings/rubyDag/rb_SD_task.c index d3f75d9249..1733bad6fe 100644 --- a/src/bindings/rubyDag/rb_SD_task.c +++ b/src/bindings/rubyDag/rb_SD_task.c @@ -52,8 +52,8 @@ static void rb_SD_task_schedule(VALUE class,VALUE task,VALUE workstation_nb,VALU ptr_comm = RARRAY(communication_amount)->ptr; wrk_list = xbt_new0(SD_workstation_t,wrk_nb); - comp_amount = xbt_new0(double,wrk_nb);//malloc(sizeof(double)*wrk_nb); //xbt_new0(double,wrk_nb); - comm_amount = xbt_new0(double,wrk_nb);//malloc(sizeof(double)*wrk_nb); //xbt_new0(double,wrk_nb); + comp_amount = xbt_new0(double,wrk_nb); + comm_amount = xbt_new0(double,wrk_nb); // wrk_nb == comp_nb == comm_nb ??? for (i=0;i