]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Get ref_cells by reference
authorMarco Feder <marco.feder@sissa.it>
Sat, 30 Apr 2022 00:33:20 +0000 (02:33 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Mon, 2 May 2022 10:30:32 +0000 (13:30 +0300)
tests/cgal/cgal_surface_mesh_01.cc

index 5ce3152b66ed435e7a7496acc48aad2ea62a22ba..c39b1da1a24aa613cccc44dfa7320d84023f1991 100644 (file)
@@ -44,7 +44,7 @@ test()
     {Line},
     {Triangle, Quadrilateral},
     {Tetrahedron, Pyramid, Wedge, Hexahedron}};
-  for (const auto r_cell : ref_cells[dim])
+  for (const auto &r_cell : ref_cells[dim])
     {
       Triangulation<dim, spacedim>  tria;
       CGAL::Surface_mesh<CGALPoint> mesh;

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.