From: Wolfgang Bangerth Date: Thu, 7 Sep 2023 20:12:56 +0000 (-0600) Subject: Avoid using a deprecated function. X-Git-Tag: relicensing~520^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f0b71c0c3f008489f2d1f2e4d3c719df4d66679;p=dealii.git Avoid using a deprecated function. --- diff --git a/tests/numerics/project_parallel_common.h b/tests/numerics/project_parallel_common.h index 4c91afa755..48ca336f1f 100644 --- a/tests/numerics/project_parallel_common.h +++ b/tests/numerics/project_parallel_common.h @@ -114,8 +114,8 @@ do_project(const parallel::distributed::Triangulation &triangulation, const MPI_Comm mpi_communicator = triangulation.get_communicator(); const IndexSet locally_owned_dofs = dof_handler.locally_owned_dofs(); - IndexSet locally_relevant_dofs; - DoFTools::extract_locally_relevant_dofs(dof_handler, locally_relevant_dofs); + const IndexSet locally_relevant_dofs = + DoFTools::extract_locally_relevant_dofs(dof_handler); AffineConstraints constraints; constraints.reinit(locally_relevant_dofs);