aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-08-20 17:11:49 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:56 +0100
commit06ad4f710ced8ef552e8ddde7fc6d92b2bde5fdc (patch)
tree9b65ffe55687f49991a283fe4a849c69e3f3b496 /src/index.c
parenta66b13709f0ce9a3fd9d4938344533555eb6c24c (diff)
Output the cell from template matching
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c2
1 files changed, 1 insertions, 1 deletions
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");