From 056cdd9d6c149ffa1da3e75d3c7caa39ee0ae907 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Mon, 31 Oct 2011 16:17:19 +0100 Subject: [PATCH] More references --- src/samplefunctional.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/samplefunctional.hh b/src/samplefunctional.hh index 23d9fd85..c02066d4 100644 --- a/src/samplefunctional.hh +++ b/src/samplefunctional.hh @@ -26,7 +26,7 @@ template <int dim> class SampleFunctional { MyNonlinearity<dim> const &phi) : A(A), b(b), phi(phi) {} - double operator()(SmallVector const v) const { + double operator()(SmallVector const &v) const { SmallVector y; A.mv(v, y); // y = Av y /= 2; // y = 1/2 Av -- GitLab