From e942082d443b3aa62214ecc3fe74a93b705c72a7 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 24 May 2018 15:41:21 -0500 Subject: [PATCH] remove static "default_empty_table" --- include/deal.II/lac/affine_constraints.h | 10 ++-------- source/lac/affine_constraints.cc | 5 ----- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/include/deal.II/lac/affine_constraints.h b/include/deal.II/lac/affine_constraints.h index afa2631132..b829fd826c 100644 --- a/include/deal.II/lac/affine_constraints.h +++ b/include/deal.II/lac/affine_constraints.h @@ -1091,7 +1091,7 @@ public: const std::vector &local_dof_indices, SparsityPatternType & sparsity_pattern, const bool keep_constrained_entries = true, - const Table<2, bool> & dof_mask = default_empty_table) const; + const Table<2, bool> & dof_mask = Table<2, bool>()) const; /** * Similar to the other function, but for non-quadratic sparsity patterns. @@ -1103,7 +1103,7 @@ public: const std::vector &col_indices, SparsityPatternType & sparsity_pattern, const bool keep_constrained_entries = true, - const Table<2, bool> & dof_mask = default_empty_table) const; + const Table<2, bool> & dof_mask = Table<2, bool>()) const; /** * This function imports values from a global vector (@p global_vector) by @@ -1465,12 +1465,6 @@ private: static bool check_zero_weight(const std::pair &p); - /** - * Dummy table that serves as default argument for function - * add_entries_local_to_global(). - */ - static const Table<2, bool> default_empty_table; - /** * This function actually implements the local_to_global function for * standard (non-block) matrices. diff --git a/source/lac/affine_constraints.cc b/source/lac/affine_constraints.cc index dc9f3a4cb9..0dd3e6f791 100644 --- a/source/lac/affine_constraints.cc +++ b/source/lac/affine_constraints.cc @@ -48,11 +48,6 @@ DEAL_II_NAMESPACE_OPEN -// Static member variable -const Table<2,bool> AffineConstraints::default_empty_table = Table<2,bool>(); - - - void AffineConstraints::copy_from (const AffineConstraints &other) { -- 2.39.5