]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Work around a bug in present gcc 3.4 CVS.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Feb 2003 17:58:31 +0000 (17:58 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Feb 2003 17:58:31 +0000 (17:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@7206 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe.cc

index d830740156f6a358a4ff027e8ee883892ccf9383..9b9b75104ed02a18c30f98765c22b4e00be69f86 100644 (file)
@@ -405,11 +405,11 @@ FiniteElementBase<dim>::memory_consumption () const
 {
   return (sizeof(FiniteElementData<dim>) +
          MemoryConsumption::
-         memory_consumption<FullMatrix<double>, sizeof(restriction)/sizeof(restriction[0])>
-         (restriction)+
-         MemoryConsumption::memory_consumption
-         <FullMatrix<double>, sizeof(prolongation)/sizeof(prolongation[0])>
-         (prolongation) +
+         memory_consumption<FullMatrix<double>,
+                             GeometryInfo<dim>::children_per_cell>(restriction)+
+         MemoryConsumption::
+          memory_consumption<FullMatrix<double>,
+                             GeometryInfo<dim>::children_per_cell>(prolongation) +
          MemoryConsumption::memory_consumption (interface_constraints) +
          MemoryConsumption::memory_consumption (system_to_component_table) +
          MemoryConsumption::memory_consumption (face_system_to_component_table) +

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.