aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pattern_sim.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index ea8a317f..e05dcdec 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -619,8 +619,7 @@ int main(int argc, char *argv[])
number++;
/* Write the output file */
- hdf5_write(filename, image.data,
- image.width, image.height, H5T_NATIVE_FLOAT);
+ hdf5_write_image(filename, &image);
}