diff options
author | Thomas White <taw@physics.org> | 2017-09-27 14:56:50 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-09-27 14:57:11 +0200 |
commit | 13bf35ac9021258b12c2603485acb1e9fab80c7e (patch) | |
tree | 3a5d954cdbc1b7e24d7f6adf2e980bd9ff6cec16 /libcrystfel/src/image.c | |
parent | ee083bde159d83a51f7e562d3a88ad78c8a77617 (diff) |
remove_flagged_crystals(): Remove multiple bad crystals
A silly bug
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r-- | libcrystfel/src/image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c index de27308c..0dda66ed 100644 --- a/libcrystfel/src/image.c +++ b/libcrystfel/src/image.c @@ -304,6 +304,7 @@ int remove_flagged_crystals(struct image *image) } image->n_crystals--; n_bad++; + i--; } } |