aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
authorValerio Mariani <valerio.mariani@desy.de>2014-03-19 10:28:55 +0100
committerThomas White <taw@physics.org>2014-09-05 18:00:53 +0200
commitc7e4b7acbd624723c5973431c0101fe92bc3089d (patch)
tree2fd1caf4fc02280bbfb05e37538731985dd97c12 /src/partial_sim.c
parent985efc49f5ccdd47ffe37e195970afb6fc289edd (diff)
Refactoring of hdf5 reading and writing functions
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index ebff2e20..9c876c27 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -204,7 +204,7 @@ static void draw_and_write_image(struct image *image, RefList *reflections,
image->data[i] += poisson_noise(rng, background);
}
- hdf5_write_image(image->filename, image);
+ hdf5_write_image(image->filename, image, NULL);
free(image->data);
}