A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initialize variable.
[simgrid.git]
/
teshsuite
/
smpi
/
type-struct
/
type-struct.c
diff --git
a/teshsuite/smpi/type-struct/type-struct.c
b/teshsuite/smpi/type-struct/type-struct.c
index 4256885ffa897423338f1b6821558d9eb0f792ca..2a4b38dba7b3c2d73c6dc3a12d507d19422406ed 100644
(file)
--- a/
teshsuite/smpi/type-struct/type-struct.c
+++ b/
teshsuite/smpi/type-struct/type-struct.c
@@
-10,7
+10,12
@@
int main(int argc, char **argv)
{
int rank;
- struct { int a;int c; double b;int tab[2][3];} value;
+ struct {
+ int a;
+ int c;
+ double b;
+ int tab[2][3];
+ } value = {0};
MPI_Datatype mystruct;
int blocklens[3];
MPI_Aint indices[3];