aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/index.c b/src/index.c
index f285cccb..bb725fcb 100644
--- a/src/index.c
+++ b/src/index.c
@@ -179,12 +179,11 @@ void index_pattern(struct image *image, UnitCell *cell, IndexingMethod indm,
break;
case CELLR_REDUCE :
new_cell = match_cell(image->candidate_cells[i],
- cell, verbose);
+ cell, verbose, 1);
break;
case CELLR_COMPARE :
- if ( cells_similar(image->candidate_cells[i], cell) ) {
- new_cell = image->candidate_cells[i];
- }
+ new_cell = match_cell(image->candidate_cells[i],
+ cell, verbose, 0);
break;
}