From 50e13b6807daa7058b9a0fc8a0313f7b929a58e4 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 18 Jan 2024 16:52:04 -0600 Subject: [PATCH] TpetraWrappers: fix signed unsigned comparison warning --- include/deal.II/lac/trilinos_tpetra_sparse_matrix.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/lac/trilinos_tpetra_sparse_matrix.templates.h b/include/deal.II/lac/trilinos_tpetra_sparse_matrix.templates.h index 451878c8d2..d13fdac5ff 100644 --- a/include/deal.II/lac/trilinos_tpetra_sparse_matrix.templates.h +++ b/include/deal.II/lac/trilinos_tpetra_sparse_matrix.templates.h @@ -685,7 +685,7 @@ namespace LinearAlgebra { matrix->getLocalRowView(i, indices, values); - for (size_t j = 0; j < indices.size(); ++j) + for (size_type j = 0; j < indices.size(); ++j) out << "(" << matrix->getRowMap()->getGlobalElement(i) << "," << matrix->getColMap()->getGlobalElement(indices[j]) << ") " << values[j] << std::endl; -- 2.39.5