]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compiling with Trilinos+Sacado+Cuda
authorDaniel Arndt <arndtd@ornl.gov>
Mon, 6 Feb 2023 20:57:32 +0000 (20:57 +0000)
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 22783cfc55e06ae1cc04327878d073cef958dfa1..e63e401531481ec065b6780616d64833208d798f 100644 (file)
@@ -2837,8 +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>::template tensor_type<ad_type>
+      auto
       get_sensitive_variables(const ExtractorType &extractor) const;
 
       /** @} */
@@ -3868,9 +3867,7 @@ namespace Differentiation
               enum AD::NumberTypes ADNumberTypeCode,
               typename ScalarType>
     template <typename ExtractorType>
-    typename internal::Extractor<dim, ExtractorType>::template tensor_type<
-      typename PointLevelFunctionsBase<dim, ADNumberTypeCode, ScalarType>::
-        ad_type>
+    auto
     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.