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/taketwo.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/taketwo.c')
-rw-r--r-- | libcrystfel/src/taketwo.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c index f7a2fda9..757c6c52 100644 --- a/libcrystfel/src/taketwo.c +++ b/libcrystfel/src/taketwo.c @@ -70,7 +70,6 @@ struct SpotVec struct taketwo_private { IndexingMethod indm; - float *ltl; UnitCell *cell; }; @@ -1587,8 +1586,7 @@ int taketwo_index(struct image *image, const struct taketwo_options *opts, } -void *taketwo_prepare(IndexingMethod *indm, UnitCell *cell, - struct detector *det, float *ltl) +void *taketwo_prepare(IndexingMethod *indm, UnitCell *cell) { struct taketwo_private *tp; @@ -1631,7 +1629,6 @@ void *taketwo_prepare(IndexingMethod *indm, UnitCell *cell, tp = malloc(sizeof(struct taketwo_private)); if ( tp == NULL ) return NULL; - tp->ltl = ltl; tp->cell = cell; tp->indm = *indm; |