]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Add missing template default parameters to dof_tools.h
authorMatthias Maier <tamiko@43-1.org>
Sat, 26 May 2018 16:22:02 +0000 (11:22 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 6 Jun 2018 15:19:38 +0000 (10:19 -0500)
include/deal.II/dofs/dof_tools.h

index 09434fae1a795c7ee6de767230d59574a3740f34..60b215d93abaefbcf904456d9c9cfe3fc1459f36 100644 (file)
@@ -627,7 +627,7 @@ namespace DoFTools
    */
   template <typename DoFHandlerType,
             typename SparsityPatternType,
-            typename number>
+            typename number = double>
   void
   make_sparsity_pattern(
     const DoFHandlerType &           dof_handler,
@@ -1570,7 +1570,7 @@ namespace DoFTools
    * DoFs that are associated with the locally owned or ghost cells, but are not
    * owned by the current MPI core.
    */
-  template <typename DoFHandlerType, typename number>
+  template <typename DoFHandlerType, typename number = double>
   IndexSet
   extract_dofs_with_support_contained_within(
     const DoFHandlerType &dof_handler,

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.