diff options
author | Thomas White <taw@physics.org> | 2017-06-27 10:28:45 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-06-27 10:28:45 +0200 |
commit | 61d8d5cf74fb962a25742c7547b7450414ae5a5b (patch) | |
tree | 04f785a089ad899275f42a46e20d027bab910eb8 /libcrystfel/src/index.c | |
parent | 80c6061730c2a6a02b9eea77140026ff6b822856 (diff) |
If prediction refinement fails, don't carry on and check the cell
Doing so results in one crystal being counted as bad twice, which messes
up the logic which follows.
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r-- | libcrystfel/src/index.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index 685d0b69..9bcf5e15 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -345,6 +345,7 @@ static int try_indexer(struct image *image, IndexingMethod indm, if ( refine_prediction(image, cr) ) { crystal_set_user_flag(cr, 1); n_bad++; + continue; } if ( (indm & INDEXING_CHECK_CELL_COMBINATIONS) |