]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Replace exception without message by ones with a message.
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 11 Oct 2017 14:49:37 +0000 (08:49 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 11 Oct 2017 15:09:43 +0000 (09:09 -0600)
include/deal.II/hp/dof_handler.h
source/hp/dof_handler.cc

index 47b1103b58739f43923ff9786ea6e757e3d07b11..90d2ca2a3513d9af45fc46bea9c8a1ad7044c7c9 100644 (file)
@@ -717,10 +717,6 @@ namespace hp
      * Exception
      */
     DeclException0 (ExcNoFESelected);
-    /**
-     * Exception
-     */
-    DeclException0 (ExcRenumberingIncomplete);
     /**
      * Exception
      */
index 9dcc6758eff15fcf6245369022f24dfd1a12de20..067f8c87fe7896c0b749741cde963a2147e9d6a9 100644 (file)
@@ -1393,8 +1393,7 @@ namespace hp
   {
     Assert(levels.size()>0, ExcMessage("You need to distribute DoFs before you can renumber them."));
 
-    Assert (new_numbers.size() == n_locally_owned_dofs(),
-            ExcRenumberingIncomplete());
+    AssertDimension (new_numbers.size(), n_locally_owned_dofs());
 
 #ifdef DEBUG
     // assert that the new indices are

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.