]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Ensure a symbol in a header file has external linkage. 18300/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 28 Mar 2025 20:34:19 +0000 (14:34 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 28 Mar 2025 20:34:36 +0000 (14:34 -0600)
include/deal.II/matrix_free/portable_matrix_free.h

index 5884d75abb89a38dbf462e0e62a779844d446951..85ef6c9f402e297b2d24ba5f579c41421e3fbf86 100644 (file)
@@ -73,7 +73,7 @@ namespace Portable
    * of blocks in a BlockVector and the number of FEEvaluation objects that can
    * be active in a single cell_loop().
    */
-  static constexpr const unsigned int n_max_dof_handlers = 5;
+  inline constexpr const unsigned int n_max_dof_handlers = 5;
 
   /**
    * Type for source and destination vectors in device functions like

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.