From cb619c1026a2afc09e2a2538e1fd24d34736a2b5 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Sat, 10 Sep 2011 23:06:30 +0200 Subject: [PATCH] m -> stepsize --- src/bisection-example-new.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bisection-example-new.cc b/src/bisection-example-new.cc index f9ae1110..34010a48 100644 --- a/src/bisection-example-new.cc +++ b/src/bisection-example-new.cc @@ -133,13 +133,13 @@ void minimise(const Functional J, const typename Functional::SmallVector x, Bisection bisection; int count; // FIXME: does x_old = 1 make any sense?! - double const m = bisection.minimize(JRest, 0.0, 1.0, count); + double const stepsize = bisection.minimize(JRest, 0.0, 1.0, count); Dune::dverb << "Number of iterations in the bisection method: " << count << std::endl; ; corr = descDir; - corr *= m; + corr *= stepsize; } template <int dim, class Function> -- GitLab