From: Wolfgang Bangerth <bangerth@colostate.edu>
Date: Thu, 10 Jan 2019 13:52:22 +0000 (-0700)
Subject: Remove a pointless exception.
X-Git-Tag: v9.1.0-rc1~450^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7582%2Fhead;p=dealii.git

Remove a pointless exception.
---

diff --git a/source/grid/tria.cc b/source/grid/tria.cc
index 34ece8f21c..3f1da7e211 100644
--- a/source/grid/tria.cc
+++ b/source/grid/tria.cc
@@ -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);