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

Set x_old to 0.0 for inexact minimisation

parent d2b208e0
Branches
No related tags found
No related merge requests found
......@@ -197,9 +197,7 @@ void minimise(Functional const J, typename Functional::SmallVector &x,
}
int count;
// FIXME: The value of x_old should not matter if the factor is 1.0,
// correct?
double const stepsize = bisection.minimize(JRest, 0.0, 1.0, count);
double const stepsize = bisection.minimize(JRest, 0.0, 0.0, count);
dverb << "Number of iterations in the bisection method: " << count
<< std::endl;
;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment