Skip to content

Commit

Permalink
Fix a hardcoded number of lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
drwells committed Mar 8, 2021
1 parent 15440af commit 75c638d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/deal.II/grid/tria_accessor.templates.h
Original file line number Diff line number Diff line change
Expand Up @@ -1879,7 +1879,7 @@ TriaAccessor<structdim, dim, spacedim>::set_all_boundary_ids(
case 2:
// for boundary quads also set
// boundary_id of bounding lines
for (unsigned int i = 0; i < 4; ++i)
for (unsigned int i = 0; i < this->n_lines(); ++i)
this->line(i)->set_boundary_id(boundary_ind);
break;

Expand Down

0 comments on commit 75c638d

Please sign in to comment.