From: Matthias Maier Date: Thu, 18 Jan 2024 22:52:04 +0000 (-0600) Subject: TpetraWrappers: fix signed unsigned comparison warning X-Git-Tag: relicensing~139^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50e13b6807daa7058b9a0fc8a0313f7b929a58e4;p=dealii.git TpetraWrappers: fix signed unsigned comparison warning --- 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;