From 9740fcd1bd29bc66b9912abeeea81fef4aba1ba0 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Tue, 12 Feb 2013 09:10:05 +0000 Subject: [PATCH] Avoid warnings. git-svn-id: https://svn.dealii.org/trunk@28317 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/chunk_sparsity_pattern.h | 2 +- deal.II/source/lac/chunk_sparsity_pattern.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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); } -- 2.39.5