From: wolf 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=830fa96c8c175b993947629f5c3889c78eba37db;p=dealii-svn.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