From: Wolfgang Bangerth Date: Wed, 10 Jan 2024 19:44:17 +0000 (-0700) Subject: Avoid a warning. X-Git-Tag: relicensing~176^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4faf103bf88f62195f56d405b68a86469e155b47;p=dealii.git Avoid a warning. --- diff --git a/source/lac/trilinos_tpetra_sparsity_pattern.cc b/source/lac/trilinos_tpetra_sparsity_pattern.cc index 84732f9fe9..b7c3dcc8f2 100644 --- a/source/lac/trilinos_tpetra_sparsity_pattern.cc +++ b/source/lac/trilinos_tpetra_sparsity_pattern.cc @@ -1031,8 +1031,8 @@ namespace LinearAlgebra SparsityPattern::print_gnuplot(std::ostream &out) const { Assert(graph->isFillComplete() == true, ExcInternalError()); - for (dealii::types::signed_global_dof_index row = 0; row < local_size(); - ++row) + + for (unsigned int row = 0; row < local_size(); ++row) { # if DEAL_II_TRILINOS_VERSION_GTE(13, 2, 0) typename GraphType::local_inds_host_view_type indices;