aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-01-19 12:59:47 +0100
committerThomas White <taw@physics.org>2024-02-06 16:59:34 +0100
commitfd363c300c1767681ac6b03f05132d9e6d8a6884 (patch)
treebe6ce156bd9ca66a0682393675dd77c1a2ac18c3 /libcrystfel/src/indexers
parenta40db3a0a67914934f214d5ea9473ad3465235b5 (diff)
Fix incorrect uses of cell_free
This also gets rid of crystal_copy_deep. From now on, all crystal_copy calls also copy the UnitCell.
Diffstat (limited to 'libcrystfel/src/indexers')
-rw-r--r--libcrystfel/src/indexers/fromfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/indexers/fromfile.c b/libcrystfel/src/indexers/fromfile.c
index c7f1d1ba..30305b21 100644
--- a/libcrystfel/src/indexers/fromfile.c
+++ b/libcrystfel/src/indexers/fromfile.c
@@ -337,7 +337,7 @@ int fromfile_index(struct image *image, void *mpriv)
for ( i=0; i<p->n_crystals; i++ ) {
Crystal *cr;
- cr = crystal_copy_deep(p->crystals[i]);
+ cr = crystal_copy(p->crystals[i]);
image_add_crystal(image, cr);
}