Skip to content

Commit

Permalink
Merge pull request #16608 from bangerth/t-2
Browse files Browse the repository at this point in the history
Work around an issue in Teuchos::rcpFromRef() with types only forward declared.
  • Loading branch information
masterleinad committed Feb 12, 2024
2 parents 53e343e + 612ebca commit da635b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lac/trilinos_tpetra_communication_pattern.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit da635b4

Please sign in to comment.