Skip to content
Snippets Groups Projects
Commit 91dbdf47 authored by Robert K's avatar Robert K
Browse files

[bugfix] fix fallout from previous commit.

parent 248cc5a3
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,9 @@ namespace ALUGrid
std::vector< std::vector< A > > res (np);
{
int ln = in.size ();
MY_INT_TEST MPI_Allgather (& ln, 1, MPI_INT, rcounts, 1, MPI_INT, comm);
{
MY_INT_TEST MPI_Allgather (& ln, 1, MPI_INT, rcounts, 1, MPI_INT, comm);
}
alugrid_assert (test == MPI_SUCCESS);
displ [0] = 0;
{for (int j = 1; j < np; j ++) {
......@@ -146,7 +148,9 @@ namespace ALUGrid
A * y = new A [ln];
alugrid_assert (x && y);
std::copy (in.begin(), in.end(), y);
MY_INT_TEST MPI_Allgatherv (y, ln, mpiType, x, rcounts, displ, mpiType, comm);
{
MY_INT_TEST MPI_Allgatherv (y, ln, mpiType, x, rcounts, displ, mpiType, comm);
}
delete [] y;
y = 0;
alugrid_assert (test == MPI_SUCCESS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment