From 83d552033ae8c1b7efbae266c6118610421ae2c8 Mon Sep 17 00:00:00 2001 From: eschnett Date: Tue, 10 Jan 2012 20:28:05 +0000 Subject: Avoid segfault when not using MPI git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@97 d60812e6-3970-4df4-986e-c251b06effeb --- src/ReductionAvg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReductionAvg.c b/src/ReductionAvg.c index e0b175e..ba5746a 100644 --- a/src/ReductionAvg.c +++ b/src/ReductionAvg.c @@ -324,9 +324,9 @@ static int ReductionAvg (const cGH *GH, } } -#ifdef CCTK_MPI pughGH = PUGH_pGH (GH); +#ifdef CCTK_MPI /* do the global reduction from the processors' local reduction results */ if (pughGH->nprocs > 1) { -- cgit v1.2.3