aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@20f44201-0f4f-0410-9130-e5fc2714a787>2011-09-26 01:45:26 +0000
committereschnett <eschnett@20f44201-0f4f-0410-9130-e5fc2714a787>2011-09-26 01:45:26 +0000
commit5d40c807727ba97cbe988b8bfbc84a2ea6afd342 (patch)
tree65fd0f6a1a0ccfc9e8834c38970aa145323d002f
parent119825afea3a659098d5a6f08c433d3feb99fcdf (diff)
Correct segfault when using standard Cactus hyperclabber API
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/RotatingSymmetry180/trunk@66 20f44201-0f4f-0410-9130-e5fc2714a787
-rw-r--r--src/rotatingsymmetry180.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rotatingsymmetry180.c b/src/rotatingsymmetry180.c
index bbd8dd5..b66b49a 100644
--- a/src/rotatingsymmetry180.c
+++ b/src/rotatingsymmetry180.c
@@ -551,7 +551,7 @@ int BndRot180VI (cGH const * restrict const cctkGH,
assert (nvars > 0);
mapping = Hyperslab_GlobalMappingByIndex
(cctkGH, vis[0], 3, direction, origin, extent, downsample,
- -1, NULL, &hsize);
+ -1, NULL, hsize);
assert (mapping>=0);
total_hsize = hsize[0] * hsize[1] * hsize[2];