From 6253d738d4c204e63b0ce9752d6870d385018168 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 12 Feb 2013 15:19:50 +0000 Subject: [PATCH] Use an unsigned int iterator variable. git-svn-id: https://svn.dealii.org/trunk@28324 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/chunk_sparsity_pattern.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/source/lac/chunk_sparsity_pattern.cc b/deal.II/source/lac/chunk_sparsity_pattern.cc index 49fd1bc3a5..8ead11c079 100644 --- a/deal.II/source/lac/chunk_sparsity_pattern.cc +++ b/deal.II/source/lac/chunk_sparsity_pattern.cc @@ -487,7 +487,7 @@ ChunkSparsityPattern::n_nonzero_elements () const // rather than all elements unsigned int n = 0; - for (int row = 0; row < n_rows(); ++row) + for (unsigned int row = 0; row < n_rows(); ++row) { SparsityPattern::const_iterator p = sparsity_pattern.begin(row); for (; p!=sparsity_pattern.end(row); ++p) -- 2.39.5