From: Wenyu Lei Date: Sat, 16 Jan 2021 15:10:23 +0000 (+0100) Subject: change 4 to this->n_lines() X-Git-Tag: v9.3.0-rc1~607^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7b9d67037d1dcb3b68e9c9c0084642f0ff488e0;p=dealii.git change 4 to this->n_lines() --- diff --git a/include/deal.II/grid/tria_accessor.templates.h b/include/deal.II/grid/tria_accessor.templates.h index 23939b0b50..055cb2b891 100644 --- a/include/deal.II/grid/tria_accessor.templates.h +++ b/include/deal.II/grid/tria_accessor.templates.h @@ -1959,8 +1959,8 @@ TriaAccessor::set_all_manifold_ids( break; case 2: - // for quads also set manifold_id of bounding lines - for (unsigned int i = 0; i < 4; ++i) + // for quads/simplices also set manifold_id of bounding lines + for (unsigned int i = 0; i < this->n_lines(); ++i) this->line(i)->set_manifold_id(manifold_ind); break; default: