From 06ad4f710ced8ef552e8ddde7fc6d92b2bde5fdc Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 20 Aug 2010 17:11:49 +0200 Subject: Output the cell from template matching --- src/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/index.c') diff --git a/src/index.c b/src/index.c index 2a5eb5b7..8f563990 100644 --- a/src/index.c +++ b/src/index.c @@ -130,7 +130,7 @@ void index_pattern(struct image *image, UnitCell *cell, IndexingMethod indm, return; } - if ( no_match ) { + if ( no_match || (indm == INDEXING_TEMPLATE) ) { image->indexed_cell = image->candidate_cells[0]; if ( verbose ) { STATUS("--------------------\n"); -- cgit v1.2.3