]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a pointless exception. 7582/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 10 Jan 2019 13:52:22 +0000 (06:52 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 10 Jan 2019 13:52:22 +0000 (06:52 -0700)
source/grid/tria.cc

index 34ece8f21c07a63b4da11ac227902da97181a8cb..3f1da7e21136ab1264024a6b682967b67be1b454 100644 (file)
@@ -11959,9 +11959,6 @@ typename Triangulation<dim, spacedim>::cell_iterator
 Triangulation<dim, spacedim>::last() const
 {
   const unsigned int level = levels.size() - 1;
-
-  Assert(level < n_global_levels() || level < levels.size(),
-         ExcInvalidLevel(level));
   if (levels[level]->cells.cells.size() == 0)
     return end(level);
 

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.