From 9a98be3710b27203dd8edd6e8a2870cd5b0f771d Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Sun, 15 Mar 2020 11:14:30 +0100 Subject: [PATCH] Fix two tests after elimination of logfile --- tests/mpi/torus.cc | 5 ----- tests/petsc/vector_print.cc | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/mpi/torus.cc b/tests/mpi/torus.cc index ff026ac5ef..948ee93baf 100644 --- a/tests/mpi/torus.cc +++ b/tests/mpi/torus.cc @@ -76,11 +76,6 @@ main(int argc, char *argv[]) argc, argv, testing_max_num_threads()); MPILogInitAll log; - if (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0) - { - static initlog(); - } - parallel::distributed::Triangulation<2, 3> triangulation( MPI_COMM_WORLD, typename Triangulation<2, 3>::MeshSmoothing( diff --git a/tests/petsc/vector_print.cc b/tests/petsc/vector_print.cc index 0b4a5e1261..22b3167a67 100644 --- a/tests/petsc/vector_print.cc +++ b/tests/petsc/vector_print.cc @@ -46,10 +46,10 @@ main(int argc, char **argv) // print with prescribed precision deallog << "across=false" << std::endl; - v.print(logfile, 10, true, false); + v.print(deallog.get_file_stream(), 10, true, false); deallog << "across=true" << std::endl; - v.print(logfile, 10, true, true); + v.print(deallog.get_file_stream(), 10, true, true); // print once more. should be the old precision again deallog << numbers::PI << std::endl; -- 2.39.5