From 830fa96c8c175b993947629f5c3889c78eba37db Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 21 Jun 2004 21:54:59 +0000 Subject: [PATCH] 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 --- deal.II/lac/include/lac/compressed_sparsity_pattern.h | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.39.5