From: Wolfgang Bangerth Date: Thu, 20 May 2021 15:42:43 +0000 (-0600) Subject: Pass 'true' instead of '1' for a function that takes a 'bool' argument. X-Git-Tag: v9.3.0-rc1~16^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12262%2Fhead;p=dealii.git Pass 'true' instead of '1' for a function that takes a 'bool' argument. --- diff --git a/tests/base/function_cutoff_01.cc b/tests/base/function_cutoff_01.cc index 24b70dcdf7..1494b39558 100644 --- a/tests/base/function_cutoff_01.cc +++ b/tests/base/function_cutoff_01.cc @@ -108,7 +108,7 @@ test() int main() { - initlog(1); + initlog(true); test<1, Functions::CutOffFunctionLinfty>(); test<2, Functions::CutOffFunctionLinfty>(); diff --git a/tests/base/function_cutoff_02.cc b/tests/base/function_cutoff_02.cc index e47a88ec4e..ca6233235e 100644 --- a/tests/base/function_cutoff_02.cc +++ b/tests/base/function_cutoff_02.cc @@ -108,7 +108,7 @@ test() int main() { - initlog(1); + initlog(true); test<1, Functions::CutOffFunctionLinfty>(); test<2, Functions::CutOffFunctionLinfty>(); diff --git a/tests/base/function_cutoff_03.cc b/tests/base/function_cutoff_03.cc index 7c1d3a919e..e02422fa80 100644 --- a/tests/base/function_cutoff_03.cc +++ b/tests/base/function_cutoff_03.cc @@ -77,7 +77,7 @@ test() int main() { - initlog(1); + initlog(true); test<1>(); test<2>(); diff --git a/tests/base/mutable_bind_03.cc b/tests/base/mutable_bind_03.cc index 4fd542a131..600ff9859e 100644 --- a/tests/base/mutable_bind_03.cc +++ b/tests/base/mutable_bind_03.cc @@ -32,7 +32,7 @@ example_function(const Point<2> &p, const double &d, const unsigned int i = 3) int main() { - initlog(1); + initlog(true); const Point<2> p(1, 2); diff --git a/tests/base/mutable_bind_04.cc b/tests/base/mutable_bind_04.cc index d0aea62937..2812352cbb 100644 --- a/tests/base/mutable_bind_04.cc +++ b/tests/base/mutable_bind_04.cc @@ -32,7 +32,7 @@ example_function(const Point<2> &p, const double &d, const unsigned int i = 3) int main() { - initlog(1); + initlog(true); const Point<2> p(1, 2); const Point<2> p2(2, 3); diff --git a/tests/base/parsed_convergence_table_06.cc b/tests/base/parsed_convergence_table_06.cc index 90cf3906be..6bcc3a38b6 100644 --- a/tests/base/parsed_convergence_table_06.cc +++ b/tests/base/parsed_convergence_table_06.cc @@ -38,7 +38,7 @@ int main() { - initlog(1); + initlog(true); ParsedConvergenceTable table({"u", "u", "p"}, {{VectorTools::H1_norm}, {}}); diff --git a/tests/boost/extract_representative_set_01.cc b/tests/boost/extract_representative_set_01.cc index c0aa5d16d8..141f504df6 100644 --- a/tests/boost/extract_representative_set_01.cc +++ b/tests/boost/extract_representative_set_01.cc @@ -29,7 +29,7 @@ int main() { - initlog(1); + initlog(true); const unsigned int N = 20; std::vector> points(N); diff --git a/tests/mappings/mapping_q_eulerian_12.cc b/tests/mappings/mapping_q_eulerian_12.cc index f6257b382c..6bfb9c9e2c 100644 --- a/tests/mappings/mapping_q_eulerian_12.cc +++ b/tests/mappings/mapping_q_eulerian_12.cc @@ -87,7 +87,7 @@ test() int main() { - initlog(1); + initlog(true); test<1>(); test<2>(); diff --git a/tests/mappings/mapping_q_eulerian_13.cc b/tests/mappings/mapping_q_eulerian_13.cc index 337c85bede..6762769a47 100644 --- a/tests/mappings/mapping_q_eulerian_13.cc +++ b/tests/mappings/mapping_q_eulerian_13.cc @@ -71,7 +71,7 @@ test() int main() { - initlog(1); + initlog(true); test<1>(); test<2>(); diff --git a/tests/meshworker/scratch_data_04.cc b/tests/meshworker/scratch_data_04.cc index f32d043b49..d180de4244 100644 --- a/tests/meshworker/scratch_data_04.cc +++ b/tests/meshworker/scratch_data_04.cc @@ -124,7 +124,7 @@ test() int main() { - initlog(1); + initlog(true); MultithreadInfo::set_thread_limit(1); // to make output deterministic test<2, 2>(); diff --git a/tests/meshworker/scratch_data_05.cc b/tests/meshworker/scratch_data_05.cc index f88065a9ed..f2420d66ce 100644 --- a/tests/meshworker/scratch_data_05.cc +++ b/tests/meshworker/scratch_data_05.cc @@ -169,7 +169,7 @@ test() int main() { - initlog(1); + initlog(true); MultithreadInfo::set_thread_limit(1); // to make output deterministic test<2, 2>(); diff --git a/tests/meshworker/scratch_data_06.cc b/tests/meshworker/scratch_data_06.cc index 6cbdcf698b..dfbfd41e48 100644 --- a/tests/meshworker/scratch_data_06.cc +++ b/tests/meshworker/scratch_data_06.cc @@ -168,7 +168,7 @@ test() int main() { - initlog(1); + initlog(true); MultithreadInfo::set_thread_limit(1); // to make output deterministic test<2, 2>(); diff --git a/tests/meshworker/scratch_data_07.cc b/tests/meshworker/scratch_data_07.cc index 5630b5356f..1e33f9f915 100644 --- a/tests/meshworker/scratch_data_07.cc +++ b/tests/meshworker/scratch_data_07.cc @@ -176,7 +176,7 @@ test() int main() { - initlog(1); + initlog(true); MultithreadInfo::set_thread_limit(1); // to make output deterministic test<2, 2>(); diff --git a/tests/non_matching/coupling_08.cc b/tests/non_matching/coupling_08.cc index bd5916a00a..2e23dbe521 100644 --- a/tests/non_matching/coupling_08.cc +++ b/tests/non_matching/coupling_08.cc @@ -151,7 +151,7 @@ test() int main() { - initlog(1); + initlog(true); test<1, 1, 1>(); test<2, 1, 2>(); test<2, 2, 2>();