]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix missing 'spacedim' template argument. 11522/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 13 Jan 2021 23:18:02 +0000 (16:18 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 13 Jan 2021 23:39:44 +0000 (16:39 -0700)
include/deal.II/numerics/vector_tools_point_value.templates.h

index 7ed44a6b4e8e475f0fe9aa75221045964ad50f71..f771017d8f069d46d73329c0a3e650ed9240d0a1 100644 (file)
@@ -317,10 +317,11 @@ namespace VectorTools
                              Vector<double> &                 rhs_vector)
   {
     if (dof_handler.has_hp_capabilities())
-      create_point_source_vector(hp::StaticMappingQ1<dim>::mapping_collection,
-                                 dof_handler,
-                                 p,
-                                 rhs_vector);
+      create_point_source_vector(
+        hp::StaticMappingQ1<dim, spacedim>::mapping_collection,
+        dof_handler,
+        p,
+        rhs_vector);
     else
       create_point_source_vector(StaticMappingQ1<dim, spacedim>::mapping,
                                  dof_handler,
@@ -421,11 +422,12 @@ namespace VectorTools
                              Vector<double> &                 rhs_vector)
   {
     if (dof_handler.has_hp_capabilities())
-      create_point_source_vector(hp::StaticMappingQ1<dim>::mapping_collection,
-                                 dof_handler,
-                                 p,
-                                 orientation,
-                                 rhs_vector);
+      create_point_source_vector(
+        hp::StaticMappingQ1<dim, spacedim>::mapping_collection,
+        dof_handler,
+        p,
+        orientation,
+        rhs_vector);
     else
       create_point_source_vector(StaticMappingQ1<dim, spacedim>::mapping,
                                  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.