]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix type in FPE 14142/head
authorPeter Munch <peterrmuench@gmail.com>
Fri, 15 Jul 2022 18:58:43 +0000 (20:58 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Fri, 15 Jul 2022 18:58:43 +0000 (20:58 +0200)
include/deal.II/matrix_free/fe_point_evaluation.h

index 67edcbdba38fcd94796c9f711c1adf622725720e..f8e3269b24b1fd1b78b8c795fbd97ad014944353 100644 (file)
@@ -951,7 +951,7 @@ FEPointEvaluation<n_components, dim, spacedim, Number>::evaluate(
                     static_cast<typename internal::FEPointEvaluation::
                                   EvaluatorTypeTraits<dim,
                                                       n_components,
-                                                      double>::gradient_type>(
+                                                      Number>::gradient_type>(
                       apply_transformation(mapping_info->get_mapping_data()
                                              .inverse_jacobians[i + j]
                                              .transpose(),
@@ -1093,7 +1093,7 @@ FEPointEvaluation<n_components, dim, spacedim, Number>::integrate(
               {
                 gradients[i + j] =
                   static_cast<typename internal::FEPointEvaluation::
-                                EvaluatorTypeTraits<dim, n_components, double>::
+                                EvaluatorTypeTraits<dim, n_components, Number>::
                                   gradient_type>(apply_transformation(
                     mapping_info->get_mapping_data().inverse_jacobians[i + j],
                     gradients[i + j]));

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.