]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix test
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 21 Jan 2014 07:38:45 +0000 (07:38 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 21 Jan 2014 07:38:45 +0000 (07:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@32275 0785d39b-7218-0410-832d-ea1e28bc413d

tests/gla/mat_02.cc

index 9e2d1ef56cad1684909640e05c2f69ecee63fe2a..7ae4ead9d3222cdb32d805b14fb4517fb942a2aa 100644 (file)
@@ -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);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.