diff options
author | schnetter <schnetter@082bdb00-0f4f-0410-b49e-b1835e5f2039> | 2009-11-13 22:29:10 +0000 |
---|---|---|
committer | schnetter <schnetter@082bdb00-0f4f-0410-b49e-b1835e5f2039> | 2009-11-13 22:29:10 +0000 |
commit | 911617b7536168083927cbe92e522fcb9c9c99b4 (patch) | |
tree | 3bcc9260d96f305168b90d54c1d844c876a6401f /src | |
parent | 0b4a0d3a5fa98271fc61b8d46479cfa001ffd044 (diff) |
Correct error again
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/ReflectionSymmetry/trunk@29 082bdb00-0f4f-0410-b49e-b1835e5f2039
Diffstat (limited to 'src')
-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"), |