From 4338882465fea6a5de3e68b96c6cf50611285439 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 6 Feb 2023 20:57:32 +0000 Subject: [PATCH] Fix compiling with Trilinos+Sacado+Cuda --- include/deal.II/differentiation/ad/ad_helpers.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/deal.II/differentiation/ad/ad_helpers.h b/include/deal.II/differentiation/ad/ad_helpers.h index 22783cfc55..e63e401531 100644 --- a/include/deal.II/differentiation/ad/ad_helpers.h +++ b/include/deal.II/differentiation/ad/ad_helpers.h @@ -2837,8 +2837,7 @@ namespace Differentiation * @note For taped AD numbers, this operation is only valid in recording mode. */ template - typename internal::Extractor::template tensor_type + auto get_sensitive_variables(const ExtractorType &extractor) const; /** @} */ @@ -3868,9 +3867,7 @@ namespace Differentiation enum AD::NumberTypes ADNumberTypeCode, typename ScalarType> template - typename internal::Extractor::template tensor_type< - typename PointLevelFunctionsBase:: - ad_type> + auto PointLevelFunctionsBase:: get_sensitive_variables(const ExtractorType &extractor) const { -- 2.39.5