diff options
Diffstat (limited to 'libcrystfel/src/indexers/fromfile.c')
-rw-r--r-- | libcrystfel/src/indexers/fromfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/indexers/fromfile.c b/libcrystfel/src/indexers/fromfile.c index d7dfbd09..1716dd66 100644 --- a/libcrystfel/src/indexers/fromfile.c +++ b/libcrystfel/src/indexers/fromfile.c @@ -228,7 +228,6 @@ void *fromfile_prepare(IndexingMethod *indm, struct fromfile_options *opts) float vals[11]; struct fromfile_key key; Crystal *cr; - UnitCell *cell; size_t len; int n_sp; struct fromfile_entry *item = NULL; @@ -286,6 +285,8 @@ void *fromfile_prepare(IndexingMethod *indm, struct fromfile_options *opts) } else { + UnitCell *cell; + cr = crystal_new(); /* mm -> m */ |