diff options
author | tradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035> | 2004-06-04 12:19:47 +0000 |
---|---|---|
committer | tradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035> | 2004-06-04 12:19:47 +0000 |
commit | b23613e37b5dc943f38eeefa6dd1a82e25e41121 (patch) | |
tree | 8700c11f4c465c1abab5c6cae1e46f46922223de | |
parent | caecd45e870f284bcec3adfa1654fecaec30cd49 (diff) |
Allow hyperslabs of zero-sized grid variables.
Finally closes PR CactusPUGH/1243: "Segmentation fault in PUGHSlab".
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@125 10716dce-81a3-4424-a2c8-48026a0d3035
-rw-r--r-- | src/Mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mapping.c b/src/Mapping.c index 386f897..f0f79b3 100644 --- a/src/Mapping.c +++ b/src/Mapping.c @@ -232,7 +232,7 @@ static CCTK_INT DefineMapping (const cGH *GH, retval |= origin[vdim] < 0; if (vdim < hdim) { - retval |= extent[vdim] <= 0; + retval |= extent[vdim] < 0; if (downsample) { retval |= downsample[vdim] <= 0; |