]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use template keyword again 14758/head
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 8 Feb 2023 03:01:45 +0000 (22:01 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Sat, 11 Feb 2023 04:43:04 +0000 (23:43 -0500)
include/deal.II/differentiation/ad/ad_helpers.h

index 67ad76ec8ef69d253d117c6a3526f864f7c18ad9..d91099f8d1ca005eace651171e7d96a69d836f6f 100644 (file)
@@ -2837,7 +2837,7 @@ namespace Differentiation
        * @note For taped AD numbers, this operation is only valid in recording mode.
        */
       template <typename ExtractorType>
-      typename internal::Extractor<dim, ExtractorType>::tensor_type<
+      typename internal::Extractor<dim, ExtractorType>::template tensor_type<
         typename HelperBase<ADNumberTypeCode, ScalarType>::ad_type>
       get_sensitive_variables(const ExtractorType &extractor) const;
 
@@ -3868,7 +3868,7 @@ namespace Differentiation
               enum AD::NumberTypes ADNumberTypeCode,
               typename ScalarType>
     template <typename ExtractorType>
-    typename internal::Extractor<dim, ExtractorType>::tensor_type<
+    typename internal::Extractor<dim, ExtractorType>::template tensor_type<
       typename HelperBase<ADNumberTypeCode, ScalarType>::ad_type>
     PointLevelFunctionsBase<dim, ADNumberTypeCode, ScalarType>::
       get_sensitive_variables(const ExtractorType &extractor) const

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.