]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix tests 15671/head
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 7 Jul 2023 17:31:32 +0000 (13:31 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 7 Jul 2023 17:31:32 +0000 (13:31 -0400)
tests/multigrid/mg_data_out_01.cc
tests/multigrid/mg_data_out_02.cc

index 5ff50d6e6ba98add362a34517f7be3337eee9f06..b206e8129611d112a711e4923041f289b84fb046 100644 (file)
@@ -31,7 +31,7 @@ template <int dim>
 void
 print(DataOut<dim> &data_out, const Triangulation<dim> &tria)
 {
-  auto &p = data_out.get_cell_selection();
+  auto p = data_out.get_cell_selection();
 
   for (auto cell = p.first(tria); cell.state() == IteratorState::valid;
        cell      = p.second(tria, cell))
index f4b534c916bdd0adbe907de8b9dd99c0520f87a7..258dadb6a462516fea7bb19372dcb7055894ddd6 100644 (file)
@@ -32,7 +32,7 @@ template <int dim>
 void
 print(DataOut<dim> &data_out, const Triangulation<dim> &tria)
 {
-  auto &p = data_out.get_cell_selection();
+  auto p = data_out.get_cell_selection();
 
   for (auto cell = p.first(tria); cell.state() == IteratorState::valid;
        cell      = p.second(tria, cell))

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.