Skip to content
Snippets Groups Projects
Commit 6f62d30a authored by Timo Koch's avatar Timo Koch
Browse files

[gmres][bugfix] Fix double call of prec->post(x) when res is zero

The post-processing routine was called twice, once before the outer
while loop and once after when the residual was initially zero. This
lead to a segmentation fault in the AMG preconditioner.
Now it only gets called once.
parent dc687ac2
No related branches found
No related tags found
1 merge request!172[gmres][bugfix] Fix double call of prec->post(x) when res is zero
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment