From: Marc Fehling Date: Thu, 19 May 2022 21:15:40 +0000 (-0600) Subject: Remove number of function calls from bfgs tests. X-Git-Tag: v9.4.0-rc1~191^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3a09c4f9074718395b051ca881541a522ceef13;p=dealii.git Remove number of function calls from bfgs tests. --- diff --git a/tests/optimization/bfgs_05.cc b/tests/optimization/bfgs_05.cc index 125ac369f9..bd12085ce3 100644 --- a/tests/optimization/bfgs_05.cc +++ b/tests/optimization/bfgs_05.cc @@ -222,8 +222,8 @@ test() x.add(-1, location); deallog << "Linf error in solution: " << x.linfty_norm() << std::endl; - deallog << "function calls: " - << (tot_fun_calls - 1) /*one evaluation above*/ << std::endl; + // deallog << "function calls: " + // << (tot_fun_calls - 1) /*one evaluation above*/ << std::endl; } int diff --git a/tests/optimization/bfgs_05.output b/tests/optimization/bfgs_05.output index dfa18e9e08..a9c3007991 100644 --- a/tests/optimization/bfgs_05.output +++ b/tests/optimization/bfgs_05.output @@ -161,4 +161,3 @@ DEAL::Limited memory BFGS solution: -4.483e-09 5.000e-02 1.000e-01 1.500e-01 2.000e-01 2.500e-01 3.000e-01 3.500e-01 4.000e-01 4.500e-01 5.000e-01 5.500e-01 6.000e-01 6.500e-01 7.000e-01 7.500e-01 8.000e-01 8.500e-01 9.000e-01 9.500e-01 1.000e+00 DEAL::Function value: 1.3096e-13 DEAL::Linf error in solution: 1.6564e-07 -DEAL::function calls: 133 diff --git a/tests/optimization/bfgs_05b.cc b/tests/optimization/bfgs_05b.cc index e89e02f724..5d5257aee9 100644 --- a/tests/optimization/bfgs_05b.cc +++ b/tests/optimization/bfgs_05b.cc @@ -123,8 +123,8 @@ test() x.add(-1, location); deallog << "Linf error in solution: " << x.linfty_norm() << std::endl; - deallog << "function calls: " - << (tot_fun_calls - 1) /*one evaluation above*/ << std::endl; + // deallog << "function calls: " + // << (tot_fun_calls - 1) /*one evaluation above*/ << std::endl; } int diff --git a/tests/optimization/bfgs_05b.output b/tests/optimization/bfgs_05b.output index 6d58fe29ce..e3b6ff7268 100644 --- a/tests/optimization/bfgs_05b.output +++ b/tests/optimization/bfgs_05b.output @@ -5,4 +5,3 @@ DEAL::Limited memory BFGS solution: -4.483e-09 5.000e-02 1.000e-01 1.500e-01 2.000e-01 2.500e-01 3.000e-01 3.500e-01 4.000e-01 4.500e-01 5.000e-01 5.500e-01 6.000e-01 6.500e-01 7.000e-01 7.500e-01 8.000e-01 8.500e-01 9.000e-01 9.500e-01 1.000e+00 DEAL::Function value: 1.3096e-13 DEAL::Linf error in solution: 1.6564e-07 -DEAL::function calls: 133