diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-01-21 13:31:45 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-01-21 13:31:45 +0100 |
commit | be276b488a1dc9c703471382799b16acdba07442 (patch) | |
tree | 8b7a2dcc46911e40bb1a2243167ece810343042f | |
parent | 6cdcade8150b8b063392f74231390f138b9f937b (diff) |
mg2d: fix typo
Do nb_relax_post steps in the post-correct relaxation phase, not
nb_relax_pre.
-rw-r--r-- | mg2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -327,7 +327,7 @@ static int mg_solve_subgrid(MG2DContext *ctx, MG2DLevel *level) level->time_reinit += gettime() - start; /* post-correct relaxation */ - for (int j = 0; j < ctx->nb_relax_pre; j++) { + for (int j = 0; j < ctx->nb_relax_post; j++) { ret = mg_relax_step(level); if (ret < 0) return ret; |