src/H5Part.c

- _set_view(): "end" is now inclusive
This commit is contained in:
2006-12-02 17:53:32 +00:00
parent f0d51def4e
commit b105b19d4d
+1 -1
View File
@@ -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 );