From 612ebca01568bc1b323855071ddabd48ae3d54e1 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 8 Feb 2024 11:25:45 -0700 Subject: [PATCH] Work around an issue with types only forward declared. --- source/lac/trilinos_tpetra_communication_pattern.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5