From: David Wells Date: Thu, 3 Feb 2022 15:00:00 +0000 (-0500) Subject: Fix initialize_dof_vector_t. X-Git-Tag: v9.4.0-rc1~529^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a74b415f1c6a4563a034882707733252d5963d29;p=dealii.git Fix initialize_dof_vector_t. The correct function requires a vector reference input argument. --- 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 =