From 7e6ed288f8c3145ae4bc2ba9769231387d238d33 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Fri, 11 Nov 2011 16:20:37 +0100 Subject: [PATCH] Comments --- dune/tectonic/samplefunctional.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dune/tectonic/samplefunctional.hh b/dune/tectonic/samplefunctional.hh index 50d8f785..6ca943e9 100644 --- a/dune/tectonic/samplefunctional.hh +++ b/dune/tectonic/samplefunctional.hh @@ -29,9 +29,9 @@ template <int dim> class SampleFunctional { double operator()(SmallVector const &v) const { SmallVector y; - A.mv(v, y); // y = Av - y /= 2; // y = 1/2 Av - y -= b; // y = 1/2 Av - b + A.mv(v, y); // Av + y /= 2; // 1/2 Av + y -= b; // 1/2 Av - b return y * v + phi(v); // <1/2 Av - b,v> + H(|v|) } -- GitLab