diff options
Diffstat (limited to 'src/Output.c')
-rw-r--r-- | src/Output.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/Output.c b/src/Output.c index 1942a77..6e7e6f1 100644 --- a/src/Output.c +++ b/src/Output.c @@ -311,9 +311,9 @@ static void CheckSteerableParameters (ioStreamedHDF5GH *myGH) /* How often to output */ - if (out_every > 0 || outHDF5_every > 0) + if (out_every >= 0 || outHDF5_every >= 0) { - if (out_every <= 0) + if (out_every < 0) { if (! user_was_warned) { @@ -333,12 +333,7 @@ static void CheckSteerableParameters (ioStreamedHDF5GH *myGH) { myGH->out_every = *(const CCTK_INT *) CCTK_ParameterGet ("out_every", - CCTK_ImplementationThorn ("IO"), - &type); - if (myGH->out_every == 0) - { - myGH->out_every = -1; - } + CCTK_ImplementationThorn ("IO"), NULL); } /* re-parse the 'IOStreamedHDF5::out_vars' parameter if it was changed */ |