aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
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) ) {