From 4ff6064feb7cfe6d95c1e7d46aafab33b76c884b Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 6 Mar 2023 13:36:28 -0600 Subject: [PATCH] examples/step-37: Mark value() as override --- tests/mpi/step-37.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mpi/step-37.cc b/tests/mpi/step-37.cc index 3f18dbbc6f..8d06ccd93e 100644 --- a/tests/mpi/step-37.cc +++ b/tests/mpi/step-37.cc @@ -297,7 +297,7 @@ namespace Step37 virtual ~PotentialBCFunction() = default; virtual double - value(const Point &p, const unsigned int) const + value(const Point &p, const unsigned int) const override { const double r = p.distance(x0); Assert(r > 0, ExcDivideByZero()); -- 2.39.5