]> https://gitweb.dealii.org/ - dealii.git/commitdiff
suppress warning unused function 'get_element' 939/head
authorLei Qiao <qiaol618@gmail.com>
Sun, 17 May 2015 17:18:54 +0000 (12:18 -0500)
committerLei Qiao <qiaol618@gmail.com>
Sun, 17 May 2015 17:18:54 +0000 (12:18 -0500)
include/deal.II/lac/matrix_out.h

index 261e9c294fd7b5d5ab0f820bfba5f88b3e580c47..920013505c3d559f8adea28ae18bb0fe2f2bf43f 100644 (file)
@@ -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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.