From: Lei Qiao Date: Sun, 17 May 2015 17:18:54 +0000 (-0500) Subject: suppress warning unused function 'get_element' X-Git-Tag: v8.3.0-rc1~164^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F939%2Fhead;p=dealii.git suppress warning unused function 'get_element' --- diff --git a/include/deal.II/lac/matrix_out.h b/include/deal.II/lac/matrix_out.h index 261e9c294f..920013505c 100644 --- a/include/deal.II/lac/matrix_out.h +++ b/include/deal.II/lac/matrix_out.h @@ -224,6 +224,7 @@ namespace internal /** * Return the element with given indices of a Trilinos sparse matrix. */ + inline double get_element (const TrilinosWrappers::SparseMatrix &matrix, const types::global_dof_index i, const types::global_dof_index j) @@ -237,6 +238,7 @@ namespace internal * Return the element with given indices of a Trilinos block sparse * matrix. */ + inline double get_element (const TrilinosWrappers::BlockSparseMatrix &matrix, const types::global_dof_index i, const types::global_dof_index j)