From: Wolfgang Bangerth <bangerth@colostate.edu>
Date: Sat, 26 Feb 2022 23:48:03 +0000 (-0700)
Subject: Adjust a couple of tests.
X-Git-Tag: v9.4.0-rc1~413^2~4
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1be80796de7c7f70f193ae9964c8037a795df781;p=dealii.git

Adjust a couple of tests.
---

diff --git a/tests/mpi/renumber_cuthill_mckee.cc b/tests/mpi/renumber_cuthill_mckee.cc
index 750c664a85..3657264173 100644
--- a/tests/mpi/renumber_cuthill_mckee.cc
+++ b/tests/mpi/renumber_cuthill_mckee.cc
@@ -119,14 +119,16 @@ test()
           if (myid == i)
             MPI_Send(&renumbering[0],
                      renumbering.size(),
-                     Utilities::MPI::mpi_type_id(&complete_renumbering[0]),
+                     Utilities::MPI::mpi_type_id_for_type<decltype(
+                       complete_renumbering[0])>,
                      0,
                      i,
                      MPI_COMM_WORLD);
           else if (myid == 0)
             MPI_Recv(&complete_renumbering[offset],
                      dofs_per_proc[i].n_elements(),
-                     Utilities::MPI::mpi_type_id(&complete_renumbering[0]),
+                     Utilities::MPI::mpi_type_id_for_type<decltype(
+                       complete_renumbering[0])>,
                      i,
                      i,
                      MPI_COMM_WORLD,
diff --git a/tests/mpi/renumber_cuthill_mckee_02.cc b/tests/mpi/renumber_cuthill_mckee_02.cc
index 5e2a5b215d..3871a6dc30 100644
--- a/tests/mpi/renumber_cuthill_mckee_02.cc
+++ b/tests/mpi/renumber_cuthill_mckee_02.cc
@@ -85,14 +85,16 @@ test()
       if (myid == i)
         MPI_Send(&renumbering[0],
                  renumbering.size(),
-                 Utilities::MPI::mpi_type_id(&complete_renumbering[0]),
+                 Utilities::MPI::mpi_type_id_for_type<decltype(
+                   complete_renumbering[0])>,
                  0,
                  i,
                  MPI_COMM_WORLD);
       else if (myid == 0)
         MPI_Recv(&complete_renumbering[offset],
                  locally_owned_dofs_per_processor[i].n_elements(),
-                 Utilities::MPI::mpi_type_id(&complete_renumbering[0]),
+                 Utilities::MPI::mpi_type_id_for_type<decltype(
+                   complete_renumbering[0])>,
                  i,
                  i,
                  MPI_COMM_WORLD,