X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ad32fd753f73b8a8a14242781eb011e78446995a..84402e8e2ee2a2d0bef25fdceb0a263ed8b471f6:/teshsuite/smpi/type-vector/type-vector.c?ds=sidebyside diff --git a/teshsuite/smpi/type-vector/type-vector.c b/teshsuite/smpi/type-vector/type-vector.c index 2a9a129e60..81d5195dc4 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-2020. 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