X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8b3658fa4a201ffb434857bb83a75b98aac5be79..af16855f0556e92be92366d8adec26f179967e21:/teshsuite/smpi/hvector_test.c diff --git a/teshsuite/smpi/hvector_test.c b/teshsuite/smpi/hvector_test.c index 86d1a403d3..f37f2341cc 100644 --- a/teshsuite/smpi/hvector_test.c +++ b/teshsuite/smpi/hvector_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; }