]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix missing 'spacedim' template argument.
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 11 Jan 2017 20:26:56 +0000 (13:26 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 11 Jan 2017 20:26:56 +0000 (13:26 -0700)
source/fe/fe_q_base.cc

index 3e0da20bc41e83b8665b83c361663c404fc50052..4b3f1ccf9a0d51354ffbd24dae07099bf41c413f 100644 (file)
@@ -862,7 +862,8 @@ compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const
       else
         return FiniteElementDomination::other_element_dominates;
     }
-  else if (const FE_Nothing<dim> *fe_nothing = dynamic_cast<const FE_Nothing<dim>*>(&fe_other))
+  else if (const FE_Nothing<dim,spacedim> *fe_nothing
+           = dynamic_cast<const FE_Nothing<dim,spacedim>*>(&fe_other))
     {
       if (fe_nothing->is_dominating())
         {

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.