From da6d5a23ebdc8e48142fdf0d417ed079a6052650 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 11 Oct 2017 08:49:37 -0600 Subject: [PATCH] Replace exception without message by ones with a message. --- include/deal.II/hp/dof_handler.h | 4 ---- source/hp/dof_handler.cc | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/include/deal.II/hp/dof_handler.h b/include/deal.II/hp/dof_handler.h index 47b1103b58..90d2ca2a35 100644 --- a/include/deal.II/hp/dof_handler.h +++ b/include/deal.II/hp/dof_handler.h @@ -717,10 +717,6 @@ namespace hp * Exception */ DeclException0 (ExcNoFESelected); - /** - * Exception - */ - DeclException0 (ExcRenumberingIncomplete); /** * Exception */ diff --git a/source/hp/dof_handler.cc b/source/hp/dof_handler.cc index 9dcc6758ef..067f8c87fe 100644 --- a/source/hp/dof_handler.cc +++ b/source/hp/dof_handler.cc @@ -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 -- 2.39.5