aboutsummaryrefslogtreecommitdiff
path: root/src/powder_plot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/powder_plot.c')
-rw-r--r--src/powder_plot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powder_plot.c b/src/powder_plot.c
index f0d30553..f721d02e 100644
--- a/src/powder_plot.c
+++ b/src/powder_plot.c
@@ -102,7 +102,7 @@ int main(int argc, char *argv[])
hdfile = hdfile_open(filename);
hdfile_set_image(hdfile, "/data/data");
- hdf5_read(hdfile, &image);
+ hdf5_read(hdfile, &image, 1);
for ( x=0; x<image.width; x++ ) {
for ( y=0; y<image.height; y++ ) {