From 84103ed442a60a4e4aeab0b5f67ba619b211ef7a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 27 Apr 2021 14:53:52 -0600 Subject: [PATCH] Fix a function for non-quads/hexes. --- source/grid/tria.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.39.5