Skip to content
Commit d82df0ab authored by Philippe Tillet's avatar Philippe Tillet
Browse files

CG: Unified unpreconditioned and preconditioned in the same function.

There is no test for CG but I checked through solverbench that it led to *exactly* the same residual. Using inner_prod(x,x) instead of pow(norm2(x),2) results in a slightly different result (probably because of rounding errors)
parent 057b2784
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment