diff options
author | Thomas White <taw@physics.org> | 2017-09-22 16:30:23 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-09-22 16:31:21 +0200 |
commit | 0ba6ac905f656be5fbdda0f681e618789c1e3a27 (patch) | |
tree | a4d13a49df7c2b2f39d80d290bb909eb2405da48 /libcrystfel/src/mosflm.c | |
parent | 7620fbe1a63a6ebb88cb573559dfddcdc4708750 (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/mosflm.c')
-rw-r--r-- | libcrystfel/src/mosflm.c | 5 |
1 files changed, 1 insertions, 4 deletions
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; |