Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
python: add Comm.waitall
[simgrid.git] / examples / python / async-wait / async-wait.py
index 0051e8a..198f779 100644 (file)
@@ -17,7 +17,7 @@ class Sender:
     def __init__(self, *args):
         if len(args) != 3:
             raise AssertionError(
-                "Actor sender requires 4 parameters, but got {:d}".format(len(args)))
+                "Actor sender requires 3 parameters, but got {:d}".format(len(args)))
         self.messages_count  = int(args[0]) # number of tasks
         self.msg_size        = int(args[1]) # communication cost (in bytes)
         self.receivers_count = int(args[2]) # number of receivers