aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-01-25 18:09:02 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:11 +0100
commit25f550cd094b7698b9775210acc774db49d01a0d (patch)
treeca634b3d9191962030e5ee636c0186575dc87308 /src/index.c
parented4a1159cf291061e298b60a11feb02c1d85f59c (diff)
Don't stop just because the first indexer returned no unit cell
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c
index 9c9e4313..23a8016a 100644
--- a/src/index.c
+++ b/src/index.c
@@ -157,7 +157,8 @@ void index_pattern(struct image *image, UnitCell *cell, IndexingMethod *indm,
if ( image->ncells == 0 ) {
STATUS("No candidate cells found.\n");
- return;
+ n++;
+ continue;
}
if ( (cellr == CELLR_NONE) || (indm[n] == INDEXING_TEMPLATE) ) {