diff options
author | Thomas White <taw@physics.org> | 2019-08-05 14:06:13 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-08-16 10:26:59 +0200 |
commit | b4e52c888c13287eeca1a6b4222e9f3038db8b51 (patch) | |
tree | 478209c620c08becfc0f00a863e0039158cfed74 /libcrystfel/src | |
parent | 14b58086754586c4cf431ee0b54cb4adc7cc4cfd (diff) |
indexamajig: Accept six values for unit cell tolerance
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/index.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index 6f0d1b8c..0f613e45 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -67,7 +67,7 @@ struct _indexingprivate { IndexingFlags flags; UnitCell *target_cell; - float tolerance[4]; + double tolerance[6]; struct taketwo_options *ttopts; struct xgandalf_options *xgandalf_opts; @@ -315,7 +315,7 @@ static void *prepare_method(IndexingMethod *m, UnitCell *cell, IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell, - struct detector *det, float *ltl, + struct detector *det, float *tols, IndexingFlags flags, struct taketwo_options *ttopts, struct xgandalf_options *xgandalf_opts, @@ -439,7 +439,7 @@ IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell, } else { ipriv->target_cell = NULL; } - for ( i=0; i<4; i++ ) ipriv->tolerance[i] = ltl[i]; + for ( i=0; i<6; i++ ) ipriv->tolerance[i] = tols[i]; ipriv->ttopts = ttopts; ipriv->xgandalf_opts = xgandalf_opts; |