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

Comments

parent 80550345
No related branches found
No related tags found
No related merge requests found
...@@ -131,7 +131,7 @@ void minimise(const Functional J, const typename Functional::SmallVector x, ...@@ -131,7 +131,7 @@ void minimise(const Functional J, const typename Functional::SmallVector x,
// FIXME: default values are used // FIXME: default values are used
Bisection bisection; Bisection bisection;
int count; int count;
// FIXME: does x_old = 1 make any sense?! // 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, 1.0, count);
Dune::dverb << "Number of iterations in the bisection method: " << count Dune::dverb << "Number of iterations in the bisection method: " << count
<< std::endl; << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment