diff options
Diffstat (limited to 'src/Output.c')
-rw-r--r-- | src/Output.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Output.c b/src/Output.c index 02464de..42f4333 100644 --- a/src/Output.c +++ b/src/Output.c @@ -61,7 +61,6 @@ int IOJpeg_OutputGH (const cGH *GH) myGH = (ioJpegGH *) CCTK_GHExtension (GH, "IOJpeg"); - CheckSteerableParameters (myGH); /* loop over all variables */ for (vindex = retval = 0; vindex < CCTK_NumVars (); vindex++) @@ -251,7 +250,7 @@ static void CheckSteerableParameters (ioJpegGH *myGH) /* how often to output */ i = myGH->out_every_default; - myGH->out_every_default = out2D_every > 0 ? out2D_every : out_every; + myGH->out_every_default = out2D_every >= 0 ? out2D_every : out_every; /* report if frequency changed */ if (myGH->out_every_default != i && ! CCTK_Equals (newverbose, "none")) |