aboutsummaryrefslogtreecommitdiff
path: root/src/Output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Output.c')
-rw-r--r--src/Output.c4
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 */