diff options
author | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2002-05-23 16:32:03 +0000 |
---|---|---|
committer | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2002-05-23 16:32:03 +0000 |
commit | c4403291c3f72c1fe985aa16b6d8533e1ac5661d (patch) | |
tree | dd80143a57226b46436896ab7375fe832ec7c8ea | |
parent | c4b4aef042f4a6a887440854642532ce06fdc9e1 (diff) |
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
-rw-r--r-- | src/Output.c | 4 |
1 files 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 */ |