aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
authorLorenzo Galli <gallil@cfelsgi.desy.de>2012-02-20 14:57:02 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:45 +0100
commitf017522931d7704dde09416473dfcfa5de629f4d (patch)
tree0e8ad4f6cf5e63086dcec41b4ed252d90b6d03c2 /libcrystfel/src/index.c
parent30b0fffa60b00b48fc42bc75a9f8dcce8db7a4fc (diff)
Added "--tolerance" option in indexamajig
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c6
1 files changed, 3 insertions, 3 deletions
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);