From: Daniel Arndt Date: Mon, 6 Feb 2023 20:57:32 +0000 (+0000) Subject: Fix compiling with Trilinos+Sacado+Cuda X-Git-Tag: v9.5.0-rc1~521^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4338882465fea6a5de3e68b96c6cf50611285439;p=dealii.git Fix compiling with Trilinos+Sacado+Cuda --- 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 {