aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@7842ec3a-9562-4be5-9c5b-06ba18f2b668>2003-06-27 14:35:38 +0000
committertradke <tradke@7842ec3a-9562-4be5-9c5b-06ba18f2b668>2003-06-27 14:35:38 +0000
commite0f7b5015570b820f9fb4e713ca77e74b2136e2f (patch)
tree61926c17521b153d436e279df5f5dcc4f49171e2 /src
parent0c984043fb53757543148e28206dd2f7e452ecb7 (diff)
Fix for checkpointing grid arrays which don't have any points on a processor.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@90 7842ec3a-9562-4be5-9c5b-06ba18f2b668
Diffstat (limited to 'src')
-rw-r--r--src/DumpUtils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/DumpUtils.c b/src/DumpUtils.c
index e88708a..d37d9d8 100644
--- a/src/DumpUtils.c
+++ b/src/DumpUtils.c
@@ -130,8 +130,7 @@ int IOHDF5Util_DumpGH (const cGH *GH, const int *timers, hid_t file)
{
/* 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") && file >= 0)