aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/dirax.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/dirax.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/dirax.c')
-rw-r--r--libcrystfel/src/dirax.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libcrystfel/src/dirax.c b/libcrystfel/src/dirax.c
index 764a6be1..f781d7e2 100644
--- a/libcrystfel/src/dirax.c
+++ b/libcrystfel/src/dirax.c
@@ -65,7 +65,6 @@ typedef enum {
struct dirax_private {
IndexingMethod indm;
- float *ltl;
UnitCell *template;
};
@@ -601,8 +600,7 @@ int run_dirax(struct image *image, void *ipriv)
}
-void *dirax_prepare(IndexingMethod *indm, UnitCell *cell,
- struct detector *det, float *ltl)
+void *dirax_prepare(IndexingMethod *indm, UnitCell *cell)
{
struct dirax_private *dp;
@@ -612,7 +610,6 @@ void *dirax_prepare(IndexingMethod *indm, UnitCell *cell,
dp = malloc(sizeof(struct dirax_private));
if ( dp == NULL ) return NULL;
- dp->ltl = ltl;
dp->template = cell;
dp->indm = *indm;