Skip to content
Snippets Groups Projects
Commit 3ab3cdf6 authored by Mathis Springwald's avatar Mathis Springwald
Browse files

added missing zeroing of initial direction in the first iteration of the apply method

parent 7fb2a69a
No related branches found
No related tags found
1 merge request!226[bugfix] [solvers.hh] Set initial search direction of the flexible cg solver to zero
......@@ -1636,6 +1636,7 @@ namespace Dune {
real_type def=def0;
real_type alpha;
d[0] = 0;
_prec->apply(d[0], b); // apply preconditioner
//saving interim values for future calculating
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment