From 02e33b8633bc6ba8613979f41ed6212c07456425 Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 27 Jun 2003 14:57:11 +0000 Subject: Fix for checkpointing grid arrays which don't have any points on a processor. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@279 ebee0441-1374-4afa-a3b5-247f3ba15b9a --- src/DumpGH.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/DumpGH.c b/src/DumpGH.c index 24d804e..eef4e80 100644 --- a/src/DumpGH.c +++ b/src/DumpGH.c @@ -444,8 +444,7 @@ static int Checkpoint (const cGH *GH, int called_from) { /* loop over all allocated timelevels of this variable */ for (request->timelevel = 0; - request->timelevel < gdata.numtimelevels && - GH->data[request->vindex][request->timelevel]; + request->timelevel < gdata.numtimelevels; request->timelevel++) { if (CCTK_Equals (verbose, "full")) -- cgit v1.2.3