From 0561ec1abfa36e87d4161e2bf51733c01c987c72 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 4 Feb 2020 17:42:35 -0700 Subject: [PATCH] Convert one more place for GeometryInfo::face_indices(). --- source/grid/grid_out.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/grid/grid_out.cc b/source/grid/grid_out.cc index 8757b4c723..fad46bb079 100644 --- a/source/grid/grid_out.cc +++ b/source/grid/grid_out.cc @@ -2381,7 +2381,8 @@ GridOut::write_svg(const Triangulation<2, 2> &tria, std::ostream &out) const // the additional boundary line if (svg_flags.boundary_line_thickness) { - for (unsigned int faceIndex = 0; faceIndex < 4; faceIndex++) + for (const unsigned int faceIndex : + GeometryInfo<2>::face_indices()) { if (cell->at_boundary(faceIndex)) { -- 2.39.5