diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/InterpGridArrays.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/InterpGridArrays.c b/src/InterpGridArrays.c index 23089a4..53a1d90 100644 --- a/src/InterpGridArrays.c +++ b/src/InterpGridArrays.c @@ -867,7 +867,7 @@ int PUGHInterp_InterpGridArrays (const cGH *GH, /* add the per_point_status[] array the user-supplied table (create a new empty table if the user didn't supply one) */ - table_handle = local_interp_handle; + table_handle = param_table_handle; if (table_handle < 0) { table_handle = Util_TableCreate (UTIL_TABLE_FLAGS_DEFAULT); @@ -876,7 +876,7 @@ int PUGHInterp_InterpGridArrays (const cGH *GH, /* now call the local interpolator for all local points and store the results in the intermediate local output arrays */ - retval = CCTK_InterpLocalUniform (N_dims, table_handle, param_table_handle, + retval = CCTK_InterpLocalUniform (N_dims, local_interp_handle, table_handle, origin_local, delta, N_points_local, interp_coords_type, (const void **) interp_coords_local, @@ -910,7 +910,7 @@ int PUGHInterp_InterpGridArrays (const cGH *GH, } /* remove the internal options from the user-supplied table */ - if (table_handle == local_interp_handle) + if (table_handle == param_table_handle) { Util_TableDeleteKey (table_handle, "error_point_status"); Util_TableDeleteKey (table_handle, "per_point_status"); |