From b105b19d4dab3dbd65bd2330553c8a1056767f6a Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Sat, 2 Dec 2006 17:53:32 +0000 Subject: [PATCH] src/H5Part.c - _set_view(): "end" is now inclusive --- src/H5Part.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5Part.c b/src/H5Part.c index b5a3232..3d35937 100644 --- a/src/H5Part.c +++ b/src/H5Part.c @@ -1903,7 +1903,7 @@ _set_view ( /* setting up the new view */ f->viewstart = start; f->viewend = end; - f->nparticles = end - start; + f->nparticles = end - start + 1; /* declare overall datasize */ f->shape = H5Screate_simple ( 1, &total, &total );