summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-17 20:14:03 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-17 20:14:03 (GMT)
commit5b03d4b08d4babdc88e0938bd9165c52e0227a51 (patch)
treedd1d2711ff5ef72d8f46acee1c29d853f48ad771 /tools/lib/h5tools.c
parente5b940c6cbfba45e55fd55e16226de802671892a (diff)
downloadhdf5-5b03d4b08d4babdc88e0938bd9165c52e0227a51.zip
hdf5-5b03d4b08d4babdc88e0938bd9165c52e0227a51.tar.gz
hdf5-5b03d4b08d4babdc88e0938bd9165c52e0227a51.tar.bz2
[svn-r21952] HDFFV-5874: -c and -k subsetting
Tested:local linux
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r--tools/lib/h5tools.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index c08c030..e963aea 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -2295,8 +2295,8 @@ h5tools_display_simple_subset(FILE *stream, const h5tool_format_t *info, h5tools
outer_count = 1;
if (ctx->ndims > 2)
for (i = 0; i < (size_t) ctx->ndims - 2; i++) {
- /* consider block size */
- outer_count = outer_count * sset->count.data[i] * sset->block.data[i];
+ /* block size is handled by containing h5tools_print_simple_subset call */
+ outer_count = outer_count * sset->count.data[i];
}