From 519e02a55c983dbe4c6d7f92034fe6ca7ad5d460 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Mon, 22 Jun 2020 11:13:58 +0200 Subject: [PATCH] Fix tests with ConstantFunction without prefix --- tests/fe/fe_enriched_color_04.cc | 3 ++- tests/fe/fe_enriched_color_05.cc | 3 ++- tests/fe/fe_enriched_color_07.cc | 2 +- tests/fe/fe_enriched_color_08.cc | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) 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 -- 2.39.5