]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a #ifdef that was introduced in r20239 when we still had multiple libraries...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 1 Nov 2012 02:08:41 +0000 (02:08 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 1 Nov 2012 02:08:41 +0000 (02:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@27276 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/fe_system.cc

index 6579fb6cc82b97b4e71da67ca9ae37fbfffbc1da..faf1f3dd089884ec464641b403e80ee735b07b30 100644 (file)
@@ -998,34 +998,18 @@ FESystem<dim,spacedim>::compute_fill (
       if (face_no==invalid_face_number)
         {
           Assert(dim_1==dim, ExcDimensionMismatch(dim_1,dim));
-
-                                           // Some Mac OS X versions
-                                           // have a bug that makes
-                                           // the following assertion
-                                           // fail spuriously. In that
-                                           // case, just disable the
-                                           // Assert, as this is not
-                                           // something that depends
-                                           // on input parameters
-                                           // provided by users; the
-                                           // validity of the
-                                           // assertion is still
-                                           // checked on all systems
-                                           // that don't have this bug
-#ifndef DEAL_II_HAVE_DARWIN_DYNACAST_BUG
           Assert (dynamic_cast<const Quadrature<dim> *>(quadrature_base_pointer) != 0,
                   ExcInternalError());
-#endif
+
           cell_quadrature
             = static_cast<const Quadrature<dim> *>(quadrature_base_pointer);
         }
       else
         {
           Assert(dim_1==dim-1, ExcDimensionMismatch(dim_1,dim-1));
-#ifndef DEAL_II_HAVE_DARWIN_DYNACAST_BUG
           Assert (dynamic_cast<const Quadrature<dim-1> *>(quadrature_base_pointer) != 0,
                   ExcInternalError());
-#endif
+
           face_quadrature
             = static_cast<const Quadrature<dim-1> *>(quadrature_base_pointer);
         }

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.