aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index 4c82e868..f6e81109 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -543,6 +543,7 @@ static int check_cell(IndexingFlags flags, Crystal *cr, UnitCell *target,
tolerance, &rm);
if ( out != NULL ) {
+ /* Replace crystal's cell with new one */
cell_free(crystal_get_cell(cr));
crystal_set_cell(cr, out);
rtnl_mtx_free(rm);