From: kronbichler Date: Tue, 12 Feb 2013 09:10:05 +0000 (+0000) Subject: Avoid warnings. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9740fcd1bd29bc66b9912abeeea81fef4aba1ba0;p=dealii-svn.git Avoid warnings. git-svn-id: https://svn.dealii.org/trunk@28317 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/chunk_sparsity_pattern.h b/deal.II/include/deal.II/lac/chunk_sparsity_pattern.h index 8f7dc5965b..948c8d017e 100644 --- a/deal.II/include/deal.II/lac/chunk_sparsity_pattern.h +++ b/deal.II/include/deal.II/lac/chunk_sparsity_pattern.h @@ -945,7 +945,7 @@ ChunkSparsityPattern::copy_from (const unsigned int n_rows, row_lengths.push_back (std::distance (i->begin(), i->end()) + (is_square ? 1 : 0)); - reinit (n_rows, n_cols, row_lengths, chunk_size, is_square); + reinit (n_rows, n_cols, row_lengths, chunk_size); // now enter all the elements into // the matrix diff --git a/deal.II/source/lac/chunk_sparsity_pattern.cc b/deal.II/source/lac/chunk_sparsity_pattern.cc index 96f6a12386..d2a1ed74d5 100644 --- a/deal.II/source/lac/chunk_sparsity_pattern.cc +++ b/deal.II/source/lac/chunk_sparsity_pattern.cc @@ -71,7 +71,7 @@ ChunkSparsityPattern::ChunkSparsityPattern ( const unsigned int n, const std::vector &row_lengths, const unsigned int chunk_size, - const bool optimize_diag) + const bool) { Assert (chunk_size > 0, ExcInvalidNumber (chunk_size)); @@ -106,7 +106,7 @@ ChunkSparsityPattern::ChunkSparsityPattern ( const unsigned int m, const std::vector &row_lengths, const unsigned int chunk_size, - const bool optimize_diag) + const bool) { Assert (chunk_size > 0, ExcInvalidNumber (chunk_size)); @@ -288,7 +288,7 @@ ChunkSparsityPattern::copy_from (const SparsityType &csp, template void ChunkSparsityPattern::copy_from (const FullMatrix &matrix, const unsigned int chunk_size, - const bool optimize_diag) + const bool) { copy_from (matrix, chunk_size); }