From bc8107f6336c4780510bf195eac3f42061fde36a Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Tue, 31 Jul 2012 09:13:53 +0200 Subject: [PATCH] Do not copy the functional --- dune/tectonic/samplefunctional.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/tectonic/samplefunctional.hh b/dune/tectonic/samplefunctional.hh index ea9dfceb..750bba10 100644 --- a/dune/tectonic/samplefunctional.hh +++ b/dune/tectonic/samplefunctional.hh @@ -134,7 +134,7 @@ template <int dim> class SampleFunctional { }; template <class Functional> -void minimise(Functional const J, typename Functional::SmallVector &x, +void minimise(Functional const &J, typename Functional::SmallVector &x, size_t steps, Bisection const &bisection) { typedef typename Functional::SmallVector SmallVector; -- GitLab