Skip to content

Commit 18d9f97

Browse files
Correcting the size of the displacement list in the SourceSite MPI interface object (#3356)
1 parent 08e7043 commit 18d9f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/initialize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ void initialize_mpi(MPI_Comm intracomm)
157157

158158
// Create bank datatype
159159
SourceSite b;
160-
MPI_Aint disp[10];
160+
MPI_Aint disp[11];
161161
MPI_Get_address(&b.r, &disp[0]);
162162
MPI_Get_address(&b.u, &disp[1]);
163163
MPI_Get_address(&b.E, &disp[2]);

0 commit comments

Comments
 (0)