diff options
author | tradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350> | 2002-04-19 08:23:19 +0000 |
---|---|---|
committer | tradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350> | 2002-04-19 08:23:19 +0000 |
commit | 37ada2bda567f0b1e6b8ebb70c67795754798e95 (patch) | |
tree | 639f5644a69d33dc0b2fe911e10b647ed9e4c477 /src/Output2D.c | |
parent | b478b0c5fdb2f04e46a6178de5b7c8a4b9d70338 (diff) |
Bugfix in parameter evaluation: if IOASCII::out*D_every was set to 0 it would
default to IO::out_every (instead of disabling IOASCII output).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@109 94b1c47f-dcfd-45ef-a468-0854c0e9e350
Diffstat (limited to 'src/Output2D.c')
-rw-r--r-- | src/Output2D.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Output2D.c b/src/Output2D.c index ec806c9..f62a635 100644 --- a/src/Output2D.c +++ b/src/Output2D.c @@ -58,7 +58,6 @@ int IOASCII_Output2DGH (const cGH *GH) myGH = (asciiioGH *) CCTK_GHExtension (GH, "IOASCII"); - CheckSteerableParameters (myGH); /* loop over all variables */ for (vindex = retval = 0; vindex < CCTK_NumVars (); vindex++) @@ -249,7 +248,7 @@ static void CheckSteerableParameters (asciiioGH *myGH) /* how often to output */ i = myGH->out2D_every_default; - myGH->out2D_every_default = out2D_every > 0 ? out2D_every : out_every; + myGH->out2D_every_default = out2D_every >= 0 ? out2D_every : out_every; /* report if frequency changed */ if (myGH->out2D_every_default != i && ! CCTK_Equals (newverbose, "none")) |