diff --git a/src/bisection-example-new.cc b/src/bisection-example-new.cc index f9ae111037b1e2fdee83c1aaf20615696967b1f1..34010a48121cf063e5ddb43aa141bf60708a70be 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>