From 6c955536cc29ef32239986d2f6b5a551dcb29bce Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 22 Apr 2015 07:12:18 -0500 Subject: [PATCH] Avoid using the deprecated row_iterator types of sparsity patterns. Replace them with uses of regular iterators. --- source/dofs/dof_renumbering.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } -- 2.39.5