From: Wolfgang Bangerth Date: Tue, 2 Jun 2020 18:06:25 +0000 (-0600) Subject: Remove some duplicated code. X-Git-Tag: v9.3.0-rc1~1493^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acd662b402ef05214b3fe6557b7b05a314c4d1c8;p=dealii.git Remove some duplicated code. This removes a block of 5 lines of code that is repeated again a few lines below. --- diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 7ee5647dba..89c60745ad 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -6890,12 +6890,6 @@ namespace internal // note these quads as children to the present one quad->set_children(0, new_quads[0]->index()); quad->set_children(2, new_quads[2]->index()); - new_quads[0]->set_bounding_object_indices( - {line_indices[0], - line_indices[8], - line_indices[4], - line_indices[10]}); - quad->set_refinement_case(RefinementCase<2>::cut_xy); new_quads[0]->set_bounding_object_indices(