aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2003-06-27 14:57:11 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2003-06-27 14:57:11 +0000
commit02e33b8633bc6ba8613979f41ed6212c07456425 (patch)
treecc4020661baa6db517ae87e68a02ce5fdc4ff092 /src
parented6fdc394142794c18d2996c3a4cf934585657ac (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/DumpGH.c3
1 files changed, 1 insertions, 2 deletions
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"))