From 8de9077c2cc3f9d7f3c11eb43d806f11a4561995 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 9 Apr 2014 10:02:32 +0000 Subject: [PATCH] Fix an oversight git-svn-id: https://svn.dealii.org/trunk@32749 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/aligned_vector.h | 1 + 1 file changed, 1 insertion(+) diff --git a/deal.II/include/deal.II/base/aligned_vector.h b/deal.II/include/deal.II/base/aligned_vector.h index a9331d151d..06031a4fbe 100644 --- a/deal.II/include/deal.II/base/aligned_vector.h +++ b/deal.II/include/deal.II/base/aligned_vector.h @@ -798,6 +798,7 @@ AlignedVector::memory_consumption () const size_type memory = sizeof(*this); for (const T* t = _data ; t != _end_data; ++t) memory += dealii::MemoryConsumption::memory_consumption(*t); + memory += sizeof(T) * (_end_allocated-_end_data); return memory; } -- 2.39.5