From: Maximilian Bergbauer Date: Fri, 1 Dec 2023 16:15:33 +0000 (+0100) Subject: Remove unused template X-Git-Tag: relicensing~268^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16314%2Fhead;p=dealii.git Remove unused template --- diff --git a/include/deal.II/matrix_free/evaluation_kernels_hanging_nodes.h b/include/deal.II/matrix_free/evaluation_kernels_hanging_nodes.h index 58bc4e2497..ef1e59afdc 100644 --- a/include/deal.II/matrix_free/evaluation_kernels_hanging_nodes.h +++ b/include/deal.II/matrix_free/evaluation_kernels_hanging_nodes.h @@ -1704,7 +1704,7 @@ namespace internal struct FEEvaluationImplHangingNodes { public: - template + template static bool run(const unsigned int n_desired_components, const MatrixFreeFunctions::ShapeInfo &shape_info, diff --git a/include/deal.II/matrix_free/evaluation_template_factory_internal.h b/include/deal.II/matrix_free/evaluation_template_factory_internal.h index ea52c477dd..ca0cb4f03f 100644 --- a/include/deal.II/matrix_free/evaluation_template_factory_internal.h +++ b/include/deal.II/matrix_free/evaluation_template_factory_internal.h @@ -82,7 +82,7 @@ namespace internal { if (given_degree == degree) { - return EvaluatorType::template run(args...); + return EvaluatorType::template run(args...); } else if (degree < FE_EVAL_FACTORY_DEGREE_MAX) return instantiation_helper_degree_run< @@ -90,7 +90,7 @@ namespace internal EvaluatorType>(given_degree, args...); else // slow path - return EvaluatorType::template run<-1, 0>(args...); + return EvaluatorType::template run<-1>(args...); } } // end of namespace internal diff --git a/tests/matrix_free/hanging_node_kernels_01.cc b/tests/matrix_free/hanging_node_kernels_01.cc index 0c5c49da58..55a9aeac85 100644 --- a/tests/matrix_free/hanging_node_kernels_01.cc +++ b/tests/matrix_free/hanging_node_kernels_01.cc @@ -44,7 +44,7 @@ namespace dealii template struct FEEvaluationImplHangingNodesReference { - template + template static bool run( const FEEvaluationData &fe_eval, @@ -486,9 +486,9 @@ test(const unsigned int degree, internal::FEEvaluationImplHangingNodesReference< dim, VectorizedArray, - false>::template run<-1, -1>(eval, b == 1, cmask_, values1.data()); + false>::template run<-1>(eval, b == 1, cmask_, values1.data()); internal::FEEvaluationImplHangingNodes>:: - template run<-1, -1>( + template run<-1>( 1, eval.get_shape_info(), b == 1, cmask, values2.data()); for (const auto i : values1)