X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/13f9ae4ca658a16c0b9d76fb918032f1c8b9841a..660e44d2803d50357a178d17bb0611fd2cbe031c:/teshsuite/smpi/vector_test.c diff --git a/teshsuite/smpi/vector_test.c b/teshsuite/smpi/vector_test.c index 8fd729f1f1..1025915127 100644 --- a/teshsuite/smpi/vector_test.c +++ b/teshsuite/smpi/vector_test.c @@ -1,3 +1,9 @@ +/* Copyright (c) 2012-2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #include #include "mpi.h" #define SIZE 4 @@ -5,7 +11,7 @@ int main(int argc, char **argv) { int rank, i, j; - double a[SIZE][SIZE]; + double a[SIZE][SIZE] = {{0}}; MPI_Datatype columntype; @@ -35,7 +41,7 @@ int main(int argc, char **argv) { } - + MPI_Type_free(&columntype); MPI_Finalize(); return 0; }