diff options
author | Thomas White <taw@physics.org> | 2020-07-10 14:53:07 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:45 +0200 |
commit | 234ebec9ac60c645b4118004a6e95a0ff73b08ec (patch) | |
tree | 14b4cd5c9e759be9adea6cf2a5f55f95abac80ae /libcrystfel/src/stream.c | |
parent | 865959d6b3adaae1f80fb50da4bebdd9b5d31830 (diff) |
Unify creation of blank image data arrays
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r-- | libcrystfel/src/stream.c | 2 |
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"); |