From 0ba6ac905f656be5fbdda0f681e618789c1e3a27 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 22 Sep 2017 16:30:23 +0200 Subject: Don't send detector and tolerance to indexing methods The detector isn't used for anything, and the tolerance is none of their business. --- libcrystfel/src/mosflm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libcrystfel/src/mosflm.c') diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c index fa8fb18b..4cf21103 100644 --- a/libcrystfel/src/mosflm.c +++ b/libcrystfel/src/mosflm.c @@ -98,7 +98,6 @@ typedef enum { struct mosflm_private { IndexingMethod indm; - float *ltl; UnitCell *template; }; @@ -818,8 +817,7 @@ int run_mosflm(struct image *image, void *ipriv) } -void *mosflm_prepare(IndexingMethod *indm, UnitCell *cell, - struct detector *det, float *ltl) +void *mosflm_prepare(IndexingMethod *indm, UnitCell *cell) { struct mosflm_private *mp; @@ -830,7 +828,6 @@ void *mosflm_prepare(IndexingMethod *indm, UnitCell *cell, mp = malloc(sizeof(struct mosflm_private)); if ( mp == NULL ) return NULL; - mp->ltl = ltl; mp->template = cell; mp->indm = *indm; -- cgit v1.2.3