From: Peter Munch Date: Mon, 22 Jun 2020 09:13:58 +0000 (+0200) Subject: Fix tests with ConstantFunction without prefix X-Git-Tag: v9.3.0-rc1~1404^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=519e02a55c983dbe4c6d7f92034fe6ca7ad5d460;p=dealii.git Fix tests with ConstantFunction without prefix --- diff --git a/tests/fe/fe_enriched_color_04.cc b/tests/fe/fe_enriched_color_04.cc index 9382e49eef..8f355a2595 100644 --- a/tests/fe/fe_enriched_color_04.cc +++ b/tests/fe/fe_enriched_color_04.cc @@ -131,7 +131,8 @@ main(int argc, char **argv) { // constant function is chosen as enrichment function Functions::ConstantFunction func(i); - vec_enrichments.push_back(std::make_shared>(func)); + vec_enrichments.push_back( + std::make_shared>(func)); } // Construct container for color enrichment functions needed diff --git a/tests/fe/fe_enriched_color_05.cc b/tests/fe/fe_enriched_color_05.cc index 8146c41558..11bf2fe954 100644 --- a/tests/fe/fe_enriched_color_05.cc +++ b/tests/fe/fe_enriched_color_05.cc @@ -203,7 +203,8 @@ main(int argc, char **argv) { // constant function. Functions::ConstantFunction func(10 + i); // constant function - vec_enrichments.push_back(std::make_shared>(func)); + vec_enrichments.push_back( + std::make_shared>(func)); } // Construct container for color enrichment functions needed diff --git a/tests/fe/fe_enriched_color_07.cc b/tests/fe/fe_enriched_color_07.cc index 700c17d826..16846b9ffe 100644 --- a/tests/fe/fe_enriched_color_07.cc +++ b/tests/fe/fe_enriched_color_07.cc @@ -1306,7 +1306,7 @@ LaplaceProblem::make_enrichment_functions() pcout << "Dummy function added at " << i << std::endl; Functions::ConstantFunction func(0); vec_enrichments.push_back( - std::make_shared>(func)); + std::make_shared>(func)); } } } diff --git a/tests/fe/fe_enriched_color_08.cc b/tests/fe/fe_enriched_color_08.cc index e28792df6e..86a293b4f9 100644 --- a/tests/fe/fe_enriched_color_08.cc +++ b/tests/fe/fe_enriched_color_08.cc @@ -243,7 +243,8 @@ main(int argc, char **argv) { // constant function. Functions::ConstantFunction func(10 + i); // constant function - vec_enrichments.push_back(std::make_shared>(func)); + vec_enrichments.push_back( + std::make_shared>(func)); } // Construct helper class to construct fe collection