From: Wolfgang Bangerth Date: Wed, 5 Feb 2020 00:42:35 +0000 (-0700) Subject: Convert one more place for GeometryInfo::face_indices(). X-Git-Tag: v9.2.0-rc1~571^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9477%2Fhead;p=dealii.git Convert one more place for GeometryInfo::face_indices(). --- 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)) {