diff options
Diffstat (limited to 'src/apply.c')
-rw-r--r-- | src/apply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apply.c b/src/apply.c index 45585b0..18e2d2c 100644 --- a/src/apply.c +++ b/src/apply.c @@ -494,8 +494,8 @@ BndReflectVI (cGH const * restrict const cctkGH, int const have_points = cctkGH->cctk_gsh[dir]; int const need_points = 3 * cctkGH->cctk_nghostzones[dir] - + do_stagger[2*dir] + do_stagger[2*dir+1]; - if (need_points < have_points) { + + !do_stagger[2*dir] + !do_stagger[2*dir+1]; + if (need_points > have_points) { CCTK_VWarn (CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING, "Cannot apply symmetry boundary zones in the %s %c direction, since there seem to be more symmetry zones than interior zones", (face==0 ? "lower" : "upper"), |