From 662b812ed350829b4622083a55738b2f9a8df85a Mon Sep 17 00:00:00 2001 From: goodale Date: Tue, 14 Sep 2004 19:47:23 +0000 Subject: Make it work in the non-MPI case. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@53 d60812e6-3970-4df4-986e-c251b06effeb --- src/ReduceGA.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ReduceGA.c b/src/ReduceGA.c index e7f7181..b8bae1c 100644 --- a/src/ReduceGA.c +++ b/src/ReduceGA.c @@ -209,9 +209,10 @@ static int ReduceGridArrays (const cGH *GH, /* Get flag to perform division by number of points or not */ ierr = Util_TableGetInt(param_table_handle, &perform_division, "perform_division"); + ierr = Util_TableGetInt(param_table_handle, &num_points, "num_points"); + #ifdef CCTK_MPI pughGH = PUGH_pGH (GH); - ierr = Util_TableGetInt(param_table_handle, &num_points, "num_points"); ierr = Util_TableGetInt(param_table_handle, &proc, "proc"); ierr = Util_TableGetInt(param_table_handle, &mpi_operation, "mpi_operation"); -- cgit v1.2.3