aboutsummaryrefslogtreecommitdiff
path: root/mg2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'mg2d.c')
-rw-r--r--mg2d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mg2d.c b/mg2d.c
index 5f2ce22..84985d7 100644
--- a/mg2d.c
+++ b/mg2d.c
@@ -405,9 +405,9 @@ static int mg_levels_init(MG2DContext *ctx)
if (cur->solver->domain_size[0] == 2 * (cur->child->solver->domain_size[0] - 1) + 1) {
if (ctx->fd_stencil == 1)
- op_restrict = GRID_TRANSFER_FW_3;
+ op_restrict = GRID_TRANSFER_FW_2;
else
- op_restrict = GRID_TRANSFER_FW_5;
+ op_restrict = GRID_TRANSFER_FW_3;
} else
op_restrict = op_interp;