Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New platform files (just add AS tag)
[simgrid.git] / testsuite / surf / surf_usage.c
index 9b01300..9d5cfed 100644 (file)
@@ -1,8 +1,7 @@
-/*     $Id$     */
-
 /* A few basic tests for the surf library                                   */
 
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -92,7 +91,7 @@ void test(char *platform)
 
   /* Let's do something on it */
   commAB =
-    surf_network_model->extension.network.communicate("Cpu A","Cpu B", 0, 1, /* FIXME: hardcoding host number is bad */
+    surf_network_model->extension.network.communicate("Cpu A","Cpu B",
                                                       150.0, -1.0);
 
   surf_solve();                 /* Takes traces into account. Returns 0.0 */