From: Wolfgang Bangerth Date: Thu, 8 Feb 2024 18:25:45 +0000 (-0700) Subject: Work around an issue with types only forward declared. X-Git-Tag: relicensing~45^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=612ebca01568bc1b323855071ddabd48ae3d54e1;p=dealii.git Work around an issue with types only forward declared. --- diff --git a/source/lac/trilinos_tpetra_communication_pattern.cc b/source/lac/trilinos_tpetra_communication_pattern.cc index 9a462334a3..a797c628ab 100644 --- a/source/lac/trilinos_tpetra_communication_pattern.cc +++ b/source/lac/trilinos_tpetra_communication_pattern.cc @@ -49,7 +49,7 @@ namespace LinearAlgebra const IndexSet &ghost_indices, const MPI_Comm communicator) { - comm = Teuchos::rcpFromRef(communicator); + comm = Teuchos::rcpFromUndefRef(communicator); auto vector_space_vector_map = locally_owned_indices.make_tpetra_map_rcp(*comm, false);