From: Daniel Garcia-Sanchez Date: Wed, 9 Oct 2019 08:41:38 +0000 (+0200) Subject: Use a std::complex function for the test fe_nedelec_singularity_01 X-Git-Tag: v9.2.0-rc1~984^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6495d86a7d0fc4a5da0297e4c0b39f6b6cdb3c79;p=dealii.git Use a std::complex function for the test fe_nedelec_singularity_01 --- 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 {