From b60812d72e604b0022954c91dc0d96bb7c640201 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 8 Sep 2010 15:50:24 +0000 Subject: [PATCH] Fix memory consumption. git-svn-id: https://svn.dealii.org/trunk@21890 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/constraint_matrix.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/source/constraint_matrix.cc b/deal.II/lac/source/constraint_matrix.cc index 0d77310409..d03cb7319d 100644 --- a/deal.II/lac/source/constraint_matrix.cc +++ b/deal.II/lac/source/constraint_matrix.cc @@ -86,7 +86,8 @@ unsigned int ConstraintMatrix::ConstraintLine::memory_consumption () const { return (MemoryConsumption::memory_consumption (line) + - MemoryConsumption::memory_consumption (entries)); + MemoryConsumption::memory_consumption (entries) + + MemoryConsumption::memory_consumption (inhomogeneity)); } @@ -2316,7 +2317,8 @@ ConstraintMatrix::memory_consumption () const { return (MemoryConsumption::memory_consumption (lines) + MemoryConsumption::memory_consumption (lines_cache) + - MemoryConsumption::memory_consumption (sorted)); + MemoryConsumption::memory_consumption (sorted) + + MemoryConsumption::memory_consumption (local_lines)); } -- 2.39.5