]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Work around an issue with types only forward declared. 16608/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 8 Feb 2024 18:25:45 +0000 (11:25 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 8 Feb 2024 18:39:16 +0000 (11:39 -0700)
source/lac/trilinos_tpetra_communication_pattern.cc

index 9a462334a3080f542613fe9b25b4935cdc44e3a5..a797c628ab194c670068b33e098de5dc1957970f 100644 (file)
@@ -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);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.