aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/xds.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-09-22 16:30:23 +0200
committerThomas White <taw@physics.org>2017-09-22 16:31:21 +0200
commit0ba6ac905f656be5fbdda0f681e618789c1e3a27 (patch)
treea4d13a49df7c2b2f39d80d290bb909eb2405da48 /libcrystfel/src/xds.c
parent7620fbe1a63a6ebb88cb573559dfddcdc4708750 (diff)
Don't send detector and tolerance to indexing methods
The detector isn't used for anything, and the tolerance is none of their business.
Diffstat (limited to 'libcrystfel/src/xds.c')
-rw-r--r--libcrystfel/src/xds.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c
index e6309eb6..ba053d2f 100644
--- a/libcrystfel/src/xds.c
+++ b/libcrystfel/src/xds.c
@@ -61,7 +61,6 @@
struct xds_private
{
IndexingMethod indm;
- float *ltl;
UnitCell *cell;
};
@@ -593,8 +592,7 @@ int run_xds(struct image *image, void *priv)
}
-void *xds_prepare(IndexingMethod *indm, UnitCell *cell,
- struct detector *det, float *ltl)
+void *xds_prepare(IndexingMethod *indm, UnitCell *cell)
{
struct xds_private *xp;
@@ -625,7 +623,6 @@ void *xds_prepare(IndexingMethod *indm, UnitCell *cell,
*indm &= INDEXING_METHOD_MASK | INDEXING_USE_LATTICE_TYPE
| INDEXING_USE_CELL_PARAMETERS;
- xp->ltl = ltl;
xp->cell = cell;
xp->indm = *indm;