From: Wolfgang Bangerth Date: Tue, 27 Apr 2021 20:53:52 +0000 (-0600) Subject: Fix a function for non-quads/hexes. X-Git-Tag: v9.3.0-rc1~165^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84103ed442a60a4e4aeab0b5f67ba619b211ef7a;p=dealii.git Fix a function for non-quads/hexes. --- diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 2995dc9025..8f0f19a9fe 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -389,7 +389,7 @@ namespace triangulation.n_vertices(), 0); for (const auto &cell : triangulation.active_cell_iterators()) - for (const unsigned int v : GeometryInfo::vertex_indices()) + for (const unsigned int v : cell->vertex_indices()) { min_adjacent_cell_level[cell->vertex_index(v)] = std::min(