From 1a32cd5d0b054e916ba1feaa8d98af225bf6dddc Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Sun, 12 Apr 2015 11:22:51 +0200 Subject: [PATCH] Fixed sparsity_tool.cc not to use CompressedSimpleSparsity. --- source/lac/sparsity_tools.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/lac/sparsity_tools.cc b/source/lac/sparsity_tools.cc index a9e3432779..01977a0ab1 100644 --- a/source/lac/sparsity_tools.cc +++ b/source/lac/sparsity_tools.cc @@ -393,7 +393,7 @@ namespace SparsityTools AssertThrow(touched_nodes[*it] == numbers::invalid_dof_index, ExcInternalError()); types::global_dof_index active_row_length = 0; - for (CompressedSimpleSparsityPattern::row_iterator rowit + for (DynamicSparsityPattern::row_iterator rowit = connectivity.row_begin(*it); rowit != connectivity.row_end(*it); ++rowit) if (touched_nodes[*rowit] == numbers::invalid_dof_index) @@ -409,7 +409,7 @@ namespace SparsityTools it != current_neighbors.end(); ++it) { types::global_dof_index active_row_length = 0; - for (CompressedSimpleSparsityPattern::row_iterator rowit + for (DynamicSparsityPattern::row_iterator rowit = connectivity.row_begin(*it); rowit != connectivity.row_end(*it); ++rowit) if (touched_nodes[*rowit] == numbers::invalid_dof_index) @@ -427,7 +427,7 @@ namespace SparsityTools // Add all direct neighbors of the pivot cell not yet touched to // the current list - for (CompressedSimpleSparsityPattern::row_iterator it + for (DynamicSparsityPattern::row_iterator it = connectivity.row_begin(min_neighbors.first); it != connectivity.row_end(min_neighbors.first); ++it) { @@ -443,7 +443,7 @@ namespace SparsityTools // list from the set of possible next pivots. for (types::global_dof_index i=0; i