]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't check for capacity(), as this is implementation defined. The check has
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 21 Jun 2004 21:54:59 +0000 (21:54 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 21 Jun 2004 21:54:59 +0000 (21:54 +0000)
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

index e54a9771178cf1741781f55c5707d31b68d0239e..80359e7592a1d3a1c345c7f8f90d1298e941750f 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.