diff options
-rw-r--r-- | src/Output.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Output.c b/src/Output.c index 02ef16e..6b6ef2c 100644 --- a/src/Output.c +++ b/src/Output.c @@ -315,9 +315,9 @@ static void CheckSteerableParameters (ioHDF5GH *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) { @@ -338,10 +338,6 @@ static void CheckSteerableParameters (ioHDF5GH *myGH) CCTK_ParameterGet ("out_every", CCTK_ImplementationThorn ("IO"), NULL); - if (myGH->out_every == 0) - { - myGH->out_every = -1; - } } /* re-parse the 'IOHDF5::out_vars' parameter if it was changed */ |