diff options
-rw-r--r-- | src/slab.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |