Skip to content
Snippets Groups Projects
Commit 6b2a3b48 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

vectorcommtest: Remove unsed variable k

parent fe929f17
No related branches found
No related tags found
1 merge request!526Adjust sequential and both parallel cases in istl-solver-playground
......@@ -80,13 +80,11 @@ void testIndices(MPI_Comm comm)
// build global indexset on first process
globalIndexSet.beginResize();
globalArray=new Array(Nx*Ny);
int k=0;
for(int j=0; j<Ny; j++)
for(int i=0; i<Nx; i++) {
globalIndexSet.add(i+j*Nx, Dune::ParallelLocalIndex<GridFlags> (i+j*Nx,owner,false));
globalArray->operator[](i+j*Nx)=-(i+j*Nx);
k++;
}
globalIndexSet.endResize();
......
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