diff options
-rw-r--r-- | src/slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1217,7 +1217,7 @@ if (n<size-1) assert (srcoffset[n+1]==srcoffset[n]+srcdetailleni*srcdetaillenj*s void CCTK_FCALL CCTK_FNAME(Slab_Transfer) (int * restrict const ierr, - cGH const * restrict const cctkGH, + cGH const * const * restrict const cctkGH, int const * restrict const dim, int const * restrict const src_gsh, int const * restrict const src_lbnd, @@ -1276,7 +1276,7 @@ CCTK_FNAME(Slab_Transfer) (int * restrict const ierr, xferinfo[d].flip = flip[d]; } - *ierr = Slab_Transfer (cctkGH, *dim, xferinfo, *options, + *ierr = Slab_Transfer (*cctkGH, *dim, xferinfo, *options, *srctype, srcptr, *dsttype, dstptr); free (xferinfo); |