From bfa2bb02142d3da3fcc98feef544d25bae234f19 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Thu, 27 Feb 2014 10:16:44 +0000 Subject: [PATCH] One more bugfix git-svn-id: https://svn.dealii.org/trunk@32566 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/sparsity_pattern.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/source/lac/sparsity_pattern.cc b/deal.II/source/lac/sparsity_pattern.cc index 3efbb95cba..43f4c9ffe8 100644 --- a/deal.II/source/lac/sparsity_pattern.cc +++ b/deal.II/source/lac/sparsity_pattern.cc @@ -802,7 +802,7 @@ SparsityPattern::add_entries (const size_type row, if (has_larger_entries == false) for ( ; it != end; ++it) { - if (*it == row) + if (store_diagonal_first_in_row && *it == row) continue; Assert (k <= rowstart[row+1], ExcNotEnoughSpace(row, rowstart[row+1]-rowstart[row])); -- 2.39.5