aboutsummaryrefslogtreecommitdiff
path: root/src/Output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Output.c')
-rw-r--r--src/Output.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/Output.c b/src/Output.c
index bc37807..449d43b 100644
--- a/src/Output.c
+++ b/src/Output.c
@@ -304,13 +304,7 @@ static void CheckSteerableParameters (const cGH *GH)
/* how often to output */
myGH = (pandaGH *) CCTK_GHExtension (GH, "IOPanda");
- myGH->out_every = out_every;
- if (myGH->out_every < 0)
- {
- myGH->out_every = *(const CCTK_INT *)
- CCTK_ParameterGet ("out_every",
- CCTK_ImplementationThorn ("IO"), NULL);
- }
+ myGH->out_every = out_every >= 0 ? out_every : io_out_every;
/* re-parse the 'out_vars' parameter if it was changed */
times_set = CCTK_ParameterQueryTimesSet ("out_vars", CCTK_THORNSTRING);