From: kronbichler Date: Thu, 27 Feb 2014 10:16:44 +0000 (+0000) Subject: One more bugfix X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfa2bb02142d3da3fcc98feef544d25bae234f19;p=dealii-svn.git One more bugfix git-svn-id: https://svn.dealii.org/trunk@32566 0785d39b-7218-0410-832d-ea1e28bc413d --- 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]));