]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove some tautological assertions.
authorDavid Wells <drwells@email.unc.edu>
Wed, 22 Mar 2023 12:16:49 +0000 (08:16 -0400)
committerDavid Wells <drwells@email.unc.edu>
Wed, 22 Mar 2023 22:40:36 +0000 (18:40 -0400)
include/deal.II/dofs/dof_accessor.templates.h

index 51ac5fd2fb41b3b01bf350aafcdc3e46237ee460..a50119e66ae2e59098fb5c431b973020220f20fc 100644 (file)
@@ -1980,10 +1980,6 @@ template <int spacedim, bool level_dof_access>
 inline unsigned int
 DoFAccessor<0, 1, spacedim, level_dof_access>::n_active_fe_indices() const
 {
-  Assert((std::is_same<DoFHandler<1, spacedim>,
-                       dealii::DoFHandler<1, spacedim>>::value == true),
-         ExcNotImplemented());
-
   return 1;
 }
 
@@ -1994,10 +1990,6 @@ inline types::fe_index
 DoFAccessor<0, 1, spacedim, level_dof_access>::nth_active_fe_index(
   const unsigned int /*n*/) const
 {
-  Assert((std::is_same<DoFHandler<1, spacedim>,
-                       dealii::DoFHandler<1, spacedim>>::value == true),
-         ExcNotImplemented());
-
   return 0;
 }
 

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.