]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Let an assertion have some usefullness.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 8 Aug 2005 17:25:59 +0000 (17:25 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 8 Aug 2005 17:25:59 +0000 (17:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@11245 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/accessor_equality.cc

index 031919c6cd4e73e8f0aa641a5dd3adf20a66d930..c35662f6ded62814ae82b44e4ccbbeba6846a7a8 100644 (file)
@@ -88,7 +88,7 @@ void test ()
   {
     DoFHandler<dim> dof_handler2 (tria);
     dof_handler2.distribute_dofs (fe);
-    Assert (dof_handler.begin_active() != dof_handler2.begin_active(),
+    Assert (! (dof_handler.begin_active() != dof_handler2.begin_active()),
             ExcInternalError());
   }
 }

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.