diff options
Diffstat (limited to 'Carpet/CarpetInterp')
-rw-r--r-- | Carpet/CarpetInterp/src/interp.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Carpet/CarpetInterp/src/interp.cc b/Carpet/CarpetInterp/src/interp.cc index 2a7a62fdb..864dd85d7 100644 --- a/Carpet/CarpetInterp/src/interp.cc +++ b/Carpet/CarpetInterp/src/interp.cc @@ -1706,9 +1706,10 @@ namespace CarpetInterp { int const gi = CCTK_GroupIndexFromVarI (vi); int const vi0 = CCTK_FirstVarIndexI (gi); - input_arrays[n] = - (*arrdata.AT(gi).AT(m).data.AT(vi-vi0))(my_tl, rl, lc, mglevel)-> - storage(); + ggf const *const ff = arrdata.AT(gi).AT(m).data.AT(vi-vi0); + void const *const ptr = + ff->data_pointer(my_tl, rl, lc, mglevel)->storage(); + input_arrays[n] = ptr; } } // for input arrays |