Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines with new year.
[simgrid.git] / teshsuite / smpi / type-struct / type-struct.c
index 6e24484..4256885 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2014. The SimGrid Team.
+/* Copyright (c) 2012-2020. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -21,7 +21,7 @@ int main(int argc, char **argv)
 
     MPI_Comm_rank( MPI_COMM_WORLD, &rank );
 
-    int tab[2][3]={{1*rank,2*rank,3*rank},{7*rank,8*rank,9*rank}}; 
+    int tab[2][3]={{1*rank,2*rank,3*rank},{7*rank,8*rank,9*rank}};
     MPI_Type_contiguous(3, MPI_INT, &type2);
     MPI_Type_commit(&type2);
 
@@ -50,7 +50,7 @@ int main(int argc, char **argv)
       value.b=8.0;
     }else{
       value.a=10000;
-      value.b=5.0; 
+      value.b=5.0;
     }
 
     MPI_Bcast( &value, 1, mystruct, 0, MPI_COMM_WORLD );