Skip to content
Snippets Groups Projects
Commit cb619c10 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

m -> stepsize

parent 52ffd3f9
Branches
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment