Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
the prototype of the models in surf changed a looong time ago. I've no damn idea...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 18 Jun 2008 22:27:45 +0000 (22:27 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 18 Jun 2008 22:27:45 +0000 (22:27 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5768 48e7efb5-ca39-0410-a469-dd3cf9ba447f

testsuite/surf/surf_usage2.c

index 891dfb2..9192bf7 100644 (file)
@@ -48,9 +48,7 @@ void test(char *platform)
   double now = -1.0;
 
   int workstation_id =
   double now = -1.0;
 
   int workstation_id =
-      find_model_description(surf_workstation_model_description,
-                            surf_workstation_model_description_size,
-                            "CLM03");
+      find_model_description(surf_workstation_model_description,"CLM03");
 
   surf_workstation_model_description[workstation_id].model_init(platform);
   parse_platform_file(platform);
 
   surf_workstation_model_description[workstation_id].model_init(platform);
   parse_platform_file(platform);