Skip to content
Snippets Groups Projects
Commit b42dd898 authored by Markus Blatt's avatar Markus Blatt
Browse files

Cosmetic changes.

[[Imported from SVN: r984]]
parent 20538a98
No related branches found
No related tags found
No related merge requests found
......@@ -521,14 +521,10 @@ void testRedistributeIndicesBuffered(MPI_Comm comm)
int start = std::max(rank*nx-1,0);
int end = std::min((rank + 1) * nx+1, Nx);
int nb=0;
if(start>0) ++nb;
if(end<Nx) ++nb;
neighbours.resize(nb);
nb=0;
if(start>0) neighbours[nb++]=rank-1;
if(end<Nx) neighbours[nb++]=rank+1;
neighbours.reserve(2);
if(rank>0) neighbours.push_back(rank-1);
if(rank<procs-1) neighbours.push_back(rank+1);
sendIndexSet.beginResize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment