From f017522931d7704dde09416473dfcfa5de629f4d Mon Sep 17 00:00:00 2001 From: Lorenzo Galli Date: Mon, 20 Feb 2012 14:57:02 +0100 Subject: Added "--tolerance" option in indexamajig --- libcrystfel/src/index.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcrystfel/src/index.c') diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index 34a5dda3..56b34baa 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -139,7 +139,7 @@ void map_all_peaks(struct image *image) void index_pattern(struct image *image, UnitCell *cell, IndexingMethod *indm, int cellr, int verbose, IndexingPrivate **ipriv, - int config_insane) + int config_insane, float *ltl) { int i; int n = 0; @@ -191,10 +191,10 @@ void index_pattern(struct image *image, UnitCell *cell, IndexingMethod *indm, new_cell = cell_new_from_cell(cand); break; case CELLR_REDUCE : - new_cell = match_cell(cand, cell, verbose, 1); + new_cell = match_cell(cand, cell, verbose, ltl, 1); break; case CELLR_COMPARE : - new_cell = match_cell(cand, cell, verbose, 0); + new_cell = match_cell(cand, cell, verbose, ltl, 0); break; case CELLR_COMPARE_AB : new_cell = match_cell_ab(cand, cell); -- cgit v1.2.3