diff options
author | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2002-05-24 13:57:52 +0000 |
---|---|---|
committer | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2002-05-24 13:57:52 +0000 |
commit | 79706f691e00b9d3fb5fd9d5f69cd2982881aff4 (patch) | |
tree | 5f640328e1739e536a7bc283cc6dcdb723f2e00a | |
parent | 7fe0b95d11ee27cba1619d4e1506a8ac3a469343 (diff) |
Fixed a bug for triggering info output.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@127 b589c3ab-70e8-4b4d-a09f-cba2dd200880
-rw-r--r-- | src/OutputInfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OutputInfo.c b/src/OutputInfo.c index 8a813c2..f9b21a4 100644 --- a/src/OutputInfo.c +++ b/src/OutputInfo.c @@ -202,7 +202,7 @@ int IOBasic_TimeForInfoOutput (const cGH *GH, int vindex) /* check if this variable should be output */ retval = myGH->outInfo_every > 0 && - GH->cctk_iteration % myGH->outInfo_every && + (GH->cctk_iteration % myGH->outInfo_every == 0) && myGH->info_reductions[vindex].num_reductions > 0; if (retval) { |