]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix value type
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 23 Feb 2023 18:58:54 +0000 (18:58 +0000)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 23 Feb 2023 18:58:54 +0000 (18:58 +0000)
include/deal.II/numerics/vector_tools_mean_value.templates.h

index 79b5c3f9ee96c35e335246c28c43a0ea988f2444..4f6f6e4e861890ce8014399bd1a229718657d091 100644 (file)
@@ -278,7 +278,7 @@ namespace VectorTools
   add_constant(LinearAlgebra::TpetraWrappers::Vector<ValueType> &,
                const DoFHandler<dim, spacedim> &,
                const unsigned int,
-               const double)
+               const ValueType)
   {
     // TODO: no vector access using operator()
     AssertThrow(false, ExcNotImplemented());

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.