From: Daniel Arndt Date: Fri, 7 Jul 2023 17:31:32 +0000 (-0400) Subject: Fix tests X-Git-Tag: relicensing~724^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a503d51e1ca1c8ab1b728a1244d1084f9b0da1a;p=dealii.git Fix tests --- diff --git a/tests/multigrid/mg_data_out_01.cc b/tests/multigrid/mg_data_out_01.cc index 5ff50d6e6b..b206e81296 100644 --- a/tests/multigrid/mg_data_out_01.cc +++ b/tests/multigrid/mg_data_out_01.cc @@ -31,7 +31,7 @@ template void print(DataOut &data_out, const Triangulation &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)) diff --git a/tests/multigrid/mg_data_out_02.cc b/tests/multigrid/mg_data_out_02.cc index f4b534c916..258dadb6a4 100644 --- a/tests/multigrid/mg_data_out_02.cc +++ b/tests/multigrid/mg_data_out_02.cc @@ -32,7 +32,7 @@ template void print(DataOut &data_out, const Triangulation &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))