diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-01-20 15:46:53 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-01-20 15:46:53 +0100 |
commit | e6c975d48f918856396ce4ae6824b9c387930f3f (patch) | |
tree | dbc7ff1d0f3e329090cbe5e81f0ec2a76152243b /mg2d.c | |
parent | 7f88b344adb92434814c82c839a513fc1ccf3b11 (diff) |
mg2d: export the residual norm to the caller
Diffstat (limited to 'mg2d.c')
-rw-r--r-- | mg2d.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1155,6 +1155,7 @@ int mg2d_solve(MG2DContext *ctx) fail: mg2di_log(&priv->logger, MG2D_LOG_ERROR, "The solver failed to converge\n"); finish: + ctx->residual_max = s_root->residual_max; mg2di_timer_stop(&priv->timer_solve); return ret; } |