]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix determination of memory_consumption size of a pointer variable.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 26 Sep 2007 16:28:57 +0000 (16:28 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 26 Sep 2007 16:28:57 +0000 (16:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@15254 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria.cc

index eb192031b19de75e0a3c035e4faa6a9c02b0848b..5d8a0567225664b52b886fa28285be1065c0d164 100644 (file)
@@ -9538,7 +9538,7 @@ Triangulation<dim>::memory_consumption () const
   mem += sizeof(boundary);
   mem += sizeof(smooth_grid);
   mem += MemoryConsumption::memory_consumption (number_cache);
-  mem += MemoryConsumption::memory_consumption (faces);
+  mem += sizeof (faces);
   mem += MemoryConsumption::memory_consumption (*faces);  
 
   return mem;

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.