From 41717eabf802c93c4a15a885540e57504a341f4e Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 7 Feb 2023 15:11:41 +0000 Subject: [PATCH] Replace auto return type --- include/deal.II/differentiation/ad/ad_helpers.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/deal.II/differentiation/ad/ad_helpers.h b/include/deal.II/differentiation/ad/ad_helpers.h index e63e401531..67ad76ec8e 100644 --- a/include/deal.II/differentiation/ad/ad_helpers.h +++ b/include/deal.II/differentiation/ad/ad_helpers.h @@ -2837,7 +2837,8 @@ namespace Differentiation * @note For taped AD numbers, this operation is only valid in recording mode. */ template - auto + typename internal::Extractor::tensor_type< + typename HelperBase::ad_type> get_sensitive_variables(const ExtractorType &extractor) const; /** @} */ @@ -3867,7 +3868,8 @@ namespace Differentiation enum AD::NumberTypes ADNumberTypeCode, typename ScalarType> template - auto + typename internal::Extractor::tensor_type< + typename HelperBase::ad_type> PointLevelFunctionsBase:: get_sensitive_variables(const ExtractorType &extractor) const { -- 2.39.5