Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings from TrilinosWrappers::Vector #16210

Merged
merged 2 commits into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/deal.II/lac/trilinos_tpetra_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ namespace LinearAlgebra
/**
* Return the mpi communicator
*/
const MPI_Comm
MPI_Comm
mpi_comm() const;

/** @} */
Expand Down
6 changes: 3 additions & 3 deletions include/deal.II/lac/trilinos_tpetra_vector.templates.h
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ namespace LinearAlgebra
Vector<Number>::import_elements(
const ReadWriteVector<Number> &V,
VectorOperation::values operation,
const std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
&communication_pattern)
[[maybe_unused]] const std::shared_ptr<
const Utilities::MPI::CommunicationPatternBase> &communication_pattern)
kinnewig marked this conversation as resolved.
Show resolved Hide resolved
{
import_elements(V, operation);
}
Expand Down Expand Up @@ -731,7 +731,7 @@ namespace LinearAlgebra


template <typename Number>
const MPI_Comm
MPI_Comm
Vector<Number>::mpi_comm() const
{
MPI_Comm out;
Expand Down