Skip to content

Commit

Permalink
Convert one more place for GeometryInfo::face_indices().
Browse files Browse the repository at this point in the history
  • Loading branch information
bangerth committed Feb 5, 2020
1 parent 27eb580 commit 0561ec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/grid/grid_out.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 0561ec1

Please sign in to comment.