X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0757a654e51fe5da06ed31d7b918d60e720ab62e..c4010c537a44b1fb18079401a3635821c86e6fcf:/teshsuite/smpi/type-vector/type-vector.c diff --git a/teshsuite/smpi/type-vector/type-vector.c b/teshsuite/smpi/type-vector/type-vector.c index 2a9a129e60..6b69858e17 100644 --- a/teshsuite/smpi/type-vector/type-vector.c +++ b/teshsuite/smpi/type-vector/type-vector.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2014. The SimGrid Team. +/* Copyright (c) 2012-2019. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -9,7 +9,7 @@ #define SIZE 4 int main(int argc, char **argv) { - int rank, i, j; + int rank; double a[SIZE][SIZE] = {{0}}; MPI_Datatype columntype; @@ -21,16 +21,16 @@ int main(int argc, char **argv) { MPI_Type_commit(&columntype); if (rank == 0) { - for(i=0; i