From ba7fad08995e8df686fa9278774d8faf5415e0a5 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 10 Jan 2019 06:52:22 -0700 Subject: [PATCH] Remove a pointless exception. --- source/grid/tria.cc | 3 --- 1 file changed, 3 deletions(-) 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::cell_iterator Triangulation::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); -- 2.39.5