From a74b415f1c6a4563a034882707733252d5963d29 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 3 Feb 2022 10:00:00 -0500 Subject: [PATCH] Fix initialize_dof_vector_t. The correct function requires a vector reference input argument. --- include/deal.II/lac/la_parallel_vector.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/deal.II/lac/la_parallel_vector.h b/include/deal.II/lac/la_parallel_vector.h index 7c37a6588e..15988bdc09 100644 --- a/include/deal.II/lac/la_parallel_vector.h +++ b/include/deal.II/lac/la_parallel_vector.h @@ -1918,7 +1918,8 @@ namespace internal // void T::initialize_dof_vector(VectorType v) template using initialize_dof_vector_t = - decltype(std::declval().initialize_dof_vector()); + decltype(std::declval().initialize_dof_vector( + std::declval &>())); template static constexpr bool has_initialize_dof_vector = -- 2.39.5