From 6ef28dfe17f3374abade6eca3e7dafe066355ed7 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Mon, 9 Jan 2012 18:18:19 +0100
Subject: [PATCH] Remove default arguments from SF::minimise()

---
 dune/tectonic/samplefunctional.hh | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/dune/tectonic/samplefunctional.hh b/dune/tectonic/samplefunctional.hh
index 1cca05f0..1592c292 100644
--- a/dune/tectonic/samplefunctional.hh
+++ b/dune/tectonic/samplefunctional.hh
@@ -132,16 +132,7 @@ template <int dim> class SampleFunctional {
 
 template <class Functional>
 void minimise(Functional const J, typename Functional::SmallVector &x,
-              size_t steps = 1,
-              Bisection const &bisection =
-                  Bisection(0.0, // acceptError: Stop if the search interval has
-                                 // become smaller than this number
-                            1.0, // acceptFactor: ?
-                            1e-12, // requiredResidual: ?
-                            true,  // fastQuadratic
-                            0))    // safety: acceptance factor for inexact
-                                   // minimization
-{
+              size_t steps, Bisection const &bisection) {
   typedef typename Functional::SmallVector SmallVector;
 
   for (size_t step = 0; step < steps; ++step) {
-- 
GitLab