Commit 34f8fff9 authored by Jö Fahlke's avatar Jö Fahlke

[!226] [bugfix] [solvers.hh] Set initial search direction of the flexible cg solver to zero

Merge branch 'bugfix/fcg-initial-direction' into 'master'

This adds a missing reset of the vector for the initial direction in the first
iteration of the apply method.

In the current state the vector for the search direction contains the initial
solution in the first iteration. Most of the standard preconditioners will add
their result to the vector instead of replacing it. If the initial solution is
not zero, this results in an incorrect first search direction.

See merge request [!226]

parents 7fb2a69a 3ab3cdf6
Pipeline #10743 passed with stage
in 8 minutes and 20 seconds