From fa07f25900e584a4040460421eadd1482bb73cdd Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Mon, 31 Oct 2011 14:40:24 +0100 Subject: [PATCH] Clean up qualifiers --- src/mynonlinearity.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mynonlinearity.hh b/src/mynonlinearity.hh index c73bd959..d68bb829 100644 --- a/src/mynonlinearity.hh +++ b/src/mynonlinearity.hh @@ -46,17 +46,17 @@ template <int dimension> class MyNonlinearity { } } - void upperGradient(const VectorType x, VectorType &ret) const { + void upperGradient(VectorType const x, VectorType &ret) const { ret = x; ret *= func_.rightDifferential(x.two_norm()) / x.two_norm(); } - void lowerGradient(const VectorType x, VectorType &ret) const { + void lowerGradient(VectorType const x, VectorType &ret) const { ret = x; ret *= func_.leftDifferential(x.two_norm()) / x.two_norm(); } - void directionalDomain(const VectorType &, const VectorType &, + void directionalDomain(VectorType const &, VectorType const &, Interval<double> &dom) const { dom[0] = -std::numeric_limits<double>::max(); dom[1] = std::numeric_limits<double>::max(); -- GitLab