From: Wolfgang Bangerth Date: Wed, 22 Apr 2015 12:12:18 +0000 (-0500) Subject: Avoid using the deprecated row_iterator types of sparsity patterns. Replace them... X-Git-Tag: v8.3.0-rc1~211^2~8 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c955536cc29ef32239986d2f6b5a551dcb29bce;p=dealii.git Avoid using the deprecated row_iterator types of sparsity patterns. Replace them with uses of regular iterators. --- diff --git a/source/dofs/dof_renumbering.cc b/source/dofs/dof_renumbering.cc index 9e440a0eb2..1ff221061c 100644 --- a/source/dofs/dof_renumbering.cc +++ b/source/dofs/dof_renumbering.cc @@ -423,10 +423,10 @@ namespace DoFRenumbering { const types::global_dof_index row = locally_owned.nth_index_in_set(i); row_entries.resize(0); - for (DynamicSparsityPattern::row_iterator it = - dsp.row_begin(row); it != dsp.row_end(row); ++it) - if (*it != row && locally_owned.is_element(*it)) - row_entries.push_back(locally_owned.index_within_set(*it)); + for (DynamicSparsityPattern::iterator it = + dsp.begin(row); it != dsp.end(row); ++it) + if (it->column() != row && locally_owned.is_element(it->column())) + row_entries.push_back(locally_owned.index_within_set(it->column())); sparsity.add_entries(i, row_entries.begin(), row_entries.end(), true); }