From 6495d86a7d0fc4a5da0297e4c0b39f6b6cdb3c79 Mon Sep 17 00:00:00 2001 From: Daniel Garcia-Sanchez Date: Wed, 9 Oct 2019 10:41:38 +0200 Subject: [PATCH] Use a std::complex function for the test fe_nedelec_singularity_01 --- tests/fe/fe_nedelec_singularity_01.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/fe/fe_nedelec_singularity_01.cc b/tests/fe/fe_nedelec_singularity_01.cc index 1541ab7d05..a2275f68df 100644 --- a/tests/fe/fe_nedelec_singularity_01.cc +++ b/tests/fe/fe_nedelec_singularity_01.cc @@ -110,11 +110,11 @@ namespace nedelec_singularity template - class ExactSolution : public Function + class ExactSolution : public Function> { public: ExactSolution(); - virtual double + virtual std::complex value(const Point &p, const unsigned int component) const override; }; @@ -122,13 +122,13 @@ namespace nedelec_singularity template ExactSolution::ExactSolution() - : Function(dim) + : Function>(dim) {} template - double + std::complex ExactSolution::value(const Point & p, const unsigned int component) const { -- 2.39.5