aboutsummaryrefslogtreecommitdiff
path: root/src/Output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Output.c')
-rw-r--r--src/Output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Output.c b/src/Output.c
index 12bfc9f..074dd0a 100644
--- a/src/Output.c
+++ b/src/Output.c
@@ -185,6 +185,10 @@ int IOBasic_TimeForOutput (cGH *GH, int index)
CheckSteerableParameters (myGH);
+ /* check if any output was requested */
+ if (myGH->outScalar_every <= 0)
+ return (0);
+
grouptype = CCTK_GroupTypeFromVarI (index);
/* Check this GF should be output */