From: bangerth Date: Tue, 12 Feb 2013 20:02:15 +0000 (+0000) Subject: Fix thinko. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa339acaad771be93121f997b73b615395453c3a;p=dealii-svn.git Fix thinko. git-svn-id: https://svn.dealii.org/trunk@28335 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/chunk_sparsity_pattern.cc b/deal.II/source/lac/chunk_sparsity_pattern.cc index 8ead11c079..788ed489b9 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 (unsigned int row = 0; row < n_rows(); ++row) + for (unsigned int row = 0; row < sparsity_pattern.n_rows(); ++row) { SparsityPattern::const_iterator p = sparsity_pattern.begin(row); for (; p!=sparsity_pattern.end(row); ++p)