From e60ce3bb969b3662cd22a5c6a95613561f8086fb Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 24 Jan 2008 17:17:35 +0000 Subject: [PATCH] Fix recent changes in how deallog wants its accuracy set. git-svn-id: https://svn.dealii.org/trunk@15671 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/deal.II/no_flux_01.cc | 4 ++-- tests/deal.II/no_flux_02.cc | 4 ++-- tests/deal.II/no_flux_03.cc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/deal.II/no_flux_01.cc b/tests/deal.II/no_flux_01.cc index dc2b27f886..baf60a7875 100644 --- a/tests/deal.II/no_flux_01.cc +++ b/tests/deal.II/no_flux_01.cc @@ -79,8 +79,8 @@ void test_hyper_cube() int main() { std::ofstream logfile ("no_flux_01/output"); - logfile.precision (2); - logfile.setf(std::ios::fixed); + deallog << std::setprecision (2); + deallog << std::fixed; deallog.attach(logfile); deallog.depth_console (0); deallog.threshold_double(1.e-12); diff --git a/tests/deal.II/no_flux_02.cc b/tests/deal.II/no_flux_02.cc index e3c2c45f2d..1f1094f3b0 100644 --- a/tests/deal.II/no_flux_02.cc +++ b/tests/deal.II/no_flux_02.cc @@ -83,8 +83,8 @@ void test_hyper_cube() int main() { std::ofstream logfile ("no_flux_02/output"); - logfile.precision (2); - logfile.setf(std::ios::fixed); + deallog << std::setprecision (2); + deallog << std::fixed; deallog.attach(logfile); deallog.depth_console (0); deallog.threshold_double(1.e-12); diff --git a/tests/deal.II/no_flux_03.cc b/tests/deal.II/no_flux_03.cc index 5780ed3972..8769fca25a 100644 --- a/tests/deal.II/no_flux_03.cc +++ b/tests/deal.II/no_flux_03.cc @@ -78,8 +78,8 @@ void test_hyper_sphere() int main() { std::ofstream logfile ("no_flux_03/output"); - logfile.precision (2); - logfile.setf(std::ios::fixed); + deallog << std::setprecision (2); + deallog << std::fixed; deallog.attach(logfile); deallog.depth_console (0); deallog.threshold_double(1.e-12); -- 2.39.5