aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-06-28 17:25:02 +0200
committerThomas White <taw@physics.org>2012-06-28 17:25:02 +0200
commitd7cacb7871a7d49057453b768e420dfb0ab52077 (patch)
tree5cc5e9d93242d89701abb199ac379ccab0513ed5
parent9f86f285dd59583866ad69149fa0b2dd324b918a (diff)
pattern_sim: Use hdf5_write() instead of hdf5_write_image()
This means that the wavelength gets put into the HDF5 file.
-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);
}