aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-10 14:53:07 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:45 +0200
commit234ebec9ac60c645b4118004a6e95a0ff73b08ec (patch)
tree14b4cd5c9e759be9adea6cf2a5f55f95abac80ae /libcrystfel/src/stream.c
parent865959d6b3adaae1f80fb50da4bebdd9b5d31830 (diff)
Unify creation of blank image data arrays
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r--libcrystfel/src/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 36eedb2d..f9a75e9d 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -1013,7 +1013,7 @@ struct image *stream_read_chunk(Stream *st, const DataTemplate *dtempl,
if ( have_filename && have_ev ) {
/* Success */
create_detgeom(image, dtempl);
- create_blank_arrays(image);
+ image_set_zero_data(image, dtempl);
return image;
}
ERROR("Incomplete chunk found in input file.\n");