From: Wolfgang Bangerth Date: Mon, 21 Jun 2004 21:54:59 +0000 (+0000) Subject: Don't check for capacity(), as this is implementation defined. The check has X-Git-Tag: v8.0.0~15012 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99558457f79f41ce4e92e566458fb85b3433269a;p=dealii.git Don't check for capacity(), as this is implementation defined. The check has passed in my testing, though, so my code seems to be correct. git-svn-id: https://svn.dealii.org/trunk@9447 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/compressed_sparsity_pattern.h b/deal.II/lac/include/lac/compressed_sparsity_pattern.h index e54a977117..80359e7592 100644 --- a/deal.II/lac/include/lac/compressed_sparsity_pattern.h +++ b/deal.II/lac/include/lac/compressed_sparsity_pattern.h @@ -678,8 +678,6 @@ CompressedSparsityPattern::Line::flush_cache () const new_entries.push_back (cache[cache_position]); Assert (new_entries.size() == n_new_entries, - ExcInternalError()); - Assert (new_entries.capacity() == n_new_entries, ExcInternalError()); // finally swap old and new array, and