summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/binread.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5dump/binread.c')
-rw-r--r--tools/h5dump/binread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5dump/binread.c b/tools/h5dump/binread.c
index 02bb115..108a760 100644
--- a/tools/h5dump/binread.c
+++ b/tools/h5dump/binread.c
@@ -20,15 +20,15 @@
/*
This program reads binary output from h5dump (-b option).
To use change the following 3 symbols accordingly.
- For example, to read 6 elements of a float type , define
+ For example, to read 2 elements of a float type , define
- #define NELMTS 6
+ #define NELMTS 2
#define TYPE float
#define FORMAT "%f "
*/
-#define NELMTS 2
+#define NELMTS 6
#define TYPE int
#define FORMAT "%d "