From c4403291c3f72c1fe985aa16b6d8533e1ac5661d Mon Sep 17 00:00:00 2001 From: tradke Date: Thu, 23 May 2002 16:32:03 +0000 Subject: Bugfix in checking when to do output for a variable. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@247 ebee0441-1374-4afa-a3b5-247f3ba15b9a --- src/Output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Output.c b/src/Output.c index 404af2e..812149f 100644 --- a/src/Output.c +++ b/src/Output.c @@ -184,8 +184,8 @@ int IOFlexIO_TimeFor (const cGH *GH, int vindex) /* check if this variable should be output */ myGH = (const flexioGH *) CCTK_GHExtension (GH, "IOFlexIO"); - retval = myGH->out_every[vindex] > 0 && myGH->requests[vindex] && - GH->cctk_iteration % myGH->out_every[vindex] == 0; + retval = myGH->out_every_default > 0 && myGH->requests[vindex] && + GH->cctk_iteration % myGH->out_every_default == 0; if (retval) { /* check if variable was not already output this iteration */ -- cgit v1.2.3