Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to be more coherent, fix misleading message, and fix test.
[simgrid.git] / teshsuite / smpi / macro-sample / macro-sample.c
index 19aafb0..56c8ed1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2020. The SimGrid Team.
+/* Copyright (c) 2009-2021. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -44,6 +44,7 @@ int main(int argc, char *argv[])
   }
 
   n = 0;
+  //Use 0 as max iter, but one will always be performed by design.
   SMPI_SAMPLE_LOCAL (int i = 0, i < 5, i++,0, 0.1){
       if (verbose || n < 2) {
         n++;