aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slab.c b/src/slab.c
index f3e1e96..64ce644 100644
--- a/src/slab.c
+++ b/src/slab.c
@@ -614,9 +614,9 @@ int Slab_Transfer (cGH const * restrict const cctkGH,
assert (info[d].flip == 0 || info[d].flip == 1);
}
for (d=dim; d<SLAB_MAXDIM; ++d) {
- struct bbox const fake_bbox = { 0, 1, 1 };
- struct arrays const fake_arrays
- = { fake_bbox, fake_bbox, fake_bbox, fake_bbox };
+ static struct bbox const fake_bbox = { 0, 1, 1 };
+ static struct arrays const fake_arrays
+ = { { 0, 1, 1 }, { 0, 1, 1 }, { 0, 1, 1 }, { 0, 1, 1 } };
bbox_check (&fake_bbox);