]> https://gitweb.dealii.org/ - dealii.git/commitdiff
We cannot have 'static' functions in header files. 18115/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 9 Feb 2025 22:11:20 +0000 (15:11 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 10 Feb 2025 23:46:27 +0000 (16:46 -0700)
include/deal.II/lac/affine_constraints.templates.h

index 6dd1f875a208b5c80ed5a3a6e42558acda5a4073..fd68d705262bbe19883adfb04bc00cec29838405 100644 (file)
@@ -3524,7 +3524,7 @@ namespace internal
     // the origin of each global entry and finds out which data we need to
     // collect.
     template <typename number>
-    static inline number
+    inline number
     resolve_matrix_entry(const GlobalRowsFromLocal<number> &global_rows,
                          const GlobalRowsFromLocal<number> &global_cols,
                          const size_type                    i,
@@ -3638,7 +3638,7 @@ namespace internal
     namespace dealiiSparseMatrix
     {
       template <typename SparseMatrixIterator, typename LocalType>
-      static inline void
+      inline void
       add_value(const LocalType       value,
                 const size_type       row,
                 const size_type       column,

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.