From a6e03ceb844c22a0bc2244fee1797fa706f365e5 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 28 Apr 2018 23:54:37 +0200 Subject: [PATCH] Fix the remaining tests --- tests/bits/step-51.cc | 2 +- tests/bits/step-51p.cc | 2 +- tests/fe/curl_curl_01.cc | 2 +- tests/fe/nedelec_non_rect_2d.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/bits/step-51.cc b/tests/bits/step-51.cc index a5c76cae89..c10e62afb3 100644 --- a/tests/bits/step-51.cc +++ b/tests/bits/step-51.cc @@ -155,7 +155,7 @@ namespace Step51 protected SolutionBase { public: - SolutionAndGradient () : Function(dim) {} + SolutionAndGradient () : Function(dim+1) {} virtual void vector_value (const Point &p, Vector &v) const; diff --git a/tests/bits/step-51p.cc b/tests/bits/step-51p.cc index c9fc3be1a2..c6c88a3e29 100644 --- a/tests/bits/step-51p.cc +++ b/tests/bits/step-51p.cc @@ -155,7 +155,7 @@ namespace Step51 protected SolutionBase { public: - SolutionAndGradient () : Function(dim) {} + SolutionAndGradient () : Function(dim+1) {} virtual void vector_value (const Point &p, Vector &v) const; diff --git a/tests/fe/curl_curl_01.cc b/tests/fe/curl_curl_01.cc index cb70976d67..1b268d376d 100644 --- a/tests/fe/curl_curl_01.cc +++ b/tests/fe/curl_curl_01.cc @@ -96,7 +96,7 @@ template class ExactSolution : public Function { public: - ExactSolution() : Function() {} + ExactSolution() : Function(2) {} virtual double value (const Point &p, const unsigned int component) const; virtual void vector_value (const Point &p, diff --git a/tests/fe/nedelec_non_rect_2d.cc b/tests/fe/nedelec_non_rect_2d.cc index a022328b24..27b298d234 100644 --- a/tests/fe/nedelec_non_rect_2d.cc +++ b/tests/fe/nedelec_non_rect_2d.cc @@ -76,7 +76,7 @@ namespace polytest class SimplePolynomial : public Function { public: - SimplePolynomial() : Function() {} + SimplePolynomial() : Function(2) {} void vector_value_list (const std::vector > &points, std::vector > &values) const; -- 2.39.5