From 70c80f666431e6b55bd03094c9eb0428663b3c15 Mon Sep 17 00:00:00 2001 From: Maximilian Bergbauer Date: Fri, 1 Dec 2023 17:15:33 +0100 Subject: [PATCH] Remove unused template --- .../deal.II/matrix_free/evaluation_kernels_hanging_nodes.h | 2 +- .../matrix_free/evaluation_template_factory_internal.h | 4 ++-- tests/matrix_free/hanging_node_kernels_01.cc | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) 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) -- 2.39.5