diff options
author | Thomas White <taw@physics.org> | 2022-10-05 15:57:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-10-05 15:57:11 +0200 |
commit | bc70fa1a15da172172a97a097de9141b97e3a9e2 (patch) | |
tree | 15865b7de5ffe603ce58e32e236c1fe460027342 /libcrystfel/src/stream.c | |
parent | 862fa2485c77611532d21e18c92595b34f767ff7 (diff) | |
parent | 46d4aab96fd1703a0c4d7ea36b6c1cfd315857d9 (diff) |
Merge branch 'pf8_faster'
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r-- | libcrystfel/src/stream.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 95345f40..0195e0ff 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -49,6 +49,7 @@ #include "reflist.h" #include "reflist-utils.h" #include "datatemplate.h" +#include "datatemplate_priv.h" #include "detgeom.h" #include "libcrystfel-version.h" @@ -896,7 +897,8 @@ struct image *stream_read_chunk(Stream *st, StreamFlags srf) if ( have_filename && have_ev ) { /* Success */ if ( srf & STREAM_DATA_DETGEOM ) { - if ( create_detgeom(image, st->dtempl_read) ) { + image->detgeom = create_detgeom(image, st->dtempl_read, 0); + if ( image->detgeom == NULL ) { image_free(image); return NULL; } |