diff options
author | Thomas White <taw@physics.org> | 2011-01-25 18:09:02 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:11 +0100 |
commit | 25f550cd094b7698b9775210acc774db49d01a0d (patch) | |
tree | ca634b3d9191962030e5ee636c0186575dc87308 /src/index.c | |
parent | ed4a1159cf291061e298b60a11feb02c1d85f59c (diff) |
Don't stop just because the first indexer returned no unit cell
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 3 |
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) ) { |