From: heister Date: Thu, 21 Oct 2010 13:18:12 +0000 (+0000) Subject: Allow Compressed*SparsityPattern::add() also with const unsigned int * X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae98b6854cfd0fc58c51c31dc1c2b08d23471bf7;p=dealii-svn.git Allow Compressed*SparsityPattern::add() also with const unsigned int * git-svn-id: https://svn.dealii.org/trunk@22414 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/compressed_simple_sparsity_pattern.cc b/deal.II/lac/source/compressed_simple_sparsity_pattern.cc index 100e7a57bd..db3404a9e2 100644 --- a/deal.II/lac/source/compressed_simple_sparsity_pattern.cc +++ b/deal.II/lac/source/compressed_simple_sparsity_pattern.cc @@ -462,6 +462,9 @@ CompressedSimpleSparsityPattern::memory_consumption () const template void CompressedSimpleSparsityPattern::Line::add_entries(unsigned int *, unsigned int *, const bool); +template void CompressedSimpleSparsityPattern::Line::add_entries(const unsigned int *, + const unsigned int *, + const bool); #ifndef DEAL_II_VECTOR_ITERATOR_IS_POINTER template void CompressedSimpleSparsityPattern::Line:: add_entries(std::vector::iterator, diff --git a/deal.II/lac/source/compressed_sparsity_pattern.cc b/deal.II/lac/source/compressed_sparsity_pattern.cc index 4c1b3b8038..1883617384 100644 --- a/deal.II/lac/source/compressed_sparsity_pattern.cc +++ b/deal.II/lac/source/compressed_sparsity_pattern.cc @@ -548,6 +548,9 @@ CompressedSparsityPattern::n_nonzero_elements () const template void CompressedSparsityPattern::Line::add_entries(unsigned int *, unsigned int *, const bool); +template void CompressedSparsityPattern::Line::add_entries(const unsigned int *, + const unsigned int *, + const bool); #ifndef DEAL_II_VECTOR_ITERATOR_IS_POINTER template void CompressedSparsityPattern::Line:: add_entries(std::vector::iterator,