From: Matthias Maier Date: Mon, 6 Mar 2023 19:36:28 +0000 (-0600) Subject: examples/step-37: Mark value() as override X-Git-Tag: v9.5.0-rc1~446^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff6064feb7cfe6d95c1e7d46aafab33b76c884b;p=dealii.git examples/step-37: Mark value() as override --- 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());