]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
update test to highlight bug in PETScWrappers
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 17 Feb 2013 14:16:04 +0000 (14:16 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 17 Feb 2013 14:16:04 +0000 (14:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@28438 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/constraint_matrix_condense_01.cc

index eb97ba64edd84d803f1badff7308f751a3d3296f..9d554e30930060e0454be5015288999aaeaf6604 100644 (file)
@@ -46,8 +46,7 @@ void test ()
 
   PETScWrappers::MPI::Vector force;
   force.reinit (mpi_communicator, locally_owned_dofs);
-  std::cout << force.has_ghost_elements() << std::endl;
-  
+  Assert(force.has_ghost_elements(), ExcInternalError());
 
   ConstraintMatrix constraints (locally_relevant_dofs);
   constraints.clear();

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.