From 4907ba7e2e72f64ce2a452a1576ccb9146fb7220 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Tue, 13 Aug 2013 13:54:20 +0200 Subject: [PATCH] [Cleanup] Add a warning to the code --- dune/tectonic/localfriction.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dune/tectonic/localfriction.hh b/dune/tectonic/localfriction.hh index 57289d2d..881def53 100644 --- a/dune/tectonic/localfriction.hh +++ b/dune/tectonic/localfriction.hh @@ -59,7 +59,8 @@ template <size_t dimension> class LocalFriction { Interval<double> &D) const { double const xnorm = x.two_norm(); if (xnorm <= 0.0) - D[0] = D[1] = 0.0; + D[0] = D[1] = 0.0; // WARNING: we assume that the outer + // function approaches zero superlinearly else D[0] = D[1] = func->differential(xnorm) * dotFirstNormalised(x, v); } -- GitLab