]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove some duplicated code. 10445/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 2 Jun 2020 18:06:25 +0000 (12:06 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 2 Jun 2020 18:06:25 +0000 (12:06 -0600)
This removes a block of 5 lines of code that is repeated again a few lines below.

source/grid/tria.cc

index 7ee5647dba93b7d80ed9f483037c5200cc909681..89c60745ada15931d4ecaaea65abb760cd8e90f6 100644 (file)
@@ -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(

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.