[cig-commits] commit: Print out the time correctly

Mercurial hg at geodynamics.org
Wed May 26 14:04:45 PDT 2010


changeset:   793:7c527d67524b
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Wed May 26 14:02:53 2010 -0700
files:       Base/Context/src/AbstractContext.c
description:
Print out the time correctly


diff -r 8f1a38035e15 -r 7c527d67524b Base/Context/src/AbstractContext.c
--- a/Base/Context/src/AbstractContext.c	Wed May 26 13:53:57 2010 -0700
+++ b/Base/Context/src/AbstractContext.c	Wed May 26 14:02:53 2010 -0700
@@ -873,7 +873,7 @@ void _AbstractContext_Step( void* _conte
         enabled=Stream_IsEnable(self->info);
         Stream_Enable(self->info,True);
 	Journal_RPrintf( self->info, "TimeStep = %d, Time = %.6g\n",
-		self->timeStep-1, self->currentTime, dt );
+		self->timeStep-1, self->currentTime+dt );
         Stream_Enable(self->info,enabled);
 
 	if (self->loadFromCheckPoint) {



More information about the CIG-COMMITS mailing list