From 79706f691e00b9d3fb5fd9d5f69cd2982881aff4 Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 24 May 2002 13:57:52 +0000 Subject: Fixed a bug for triggering info output. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@127 b589c3ab-70e8-4b4d-a09f-cba2dd200880 --- src/OutputInfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3