From: kronbichler Date: Tue, 21 Jan 2014 07:38:45 +0000 (+0000) Subject: Fix test X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b917d1a23d8d0509a5f3f83e92e9b11991548c4f;p=dealii-svn.git Fix test git-svn-id: https://svn.dealii.org/trunk@32275 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/gla/mat_02.cc b/tests/gla/mat_02.cc index 9e2d1ef56c..7ae4ead9d3 100644 --- a/tests/gla/mat_02.cc +++ b/tests/gla/mat_02.cc @@ -45,6 +45,7 @@ void test () IndexSet local_relevant= local_active; if (myid==1) local_relevant.add_range(5,10); + local_relevant.add_range(0,1); CompressedSimpleSparsityPattern csp (local_relevant); @@ -52,8 +53,7 @@ void test () if (local_relevant.is_element(i)) csp.add(i,i); - if (myid==0) - csp.add(0,1); + csp.add(0,1); typename LA::MPI::SparseMatrix mat; mat.reinit (local_active, local_active, csp, MPI_COMM_WORLD);